changed some 'pretty-print's to 'pretty-write's
Closes PR 11001
This commit is contained in:
parent
c072373fd6
commit
84503de886
|
@ -105,7 +105,7 @@
|
|||
(define (write-configuration-table new configuration-path)
|
||||
(define sexpr (configuration-table->sexpr new))
|
||||
(call-with-output-file configuration-path
|
||||
(lambda (out) (pretty-print sexpr out))
|
||||
(lambda (out) (pretty-write sexpr out))
|
||||
#:exists 'truncate))
|
||||
|
||||
; host-table->sexpr : host-table
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
; write-to-file : str TST -> void
|
||||
(define (write-to-file file-name x)
|
||||
(call-with-output-file file-name
|
||||
(lambda (out) (pretty-print x out))
|
||||
(lambda (out) (pretty-write x out))
|
||||
#:exists 'truncate))
|
||||
|
||||
(define default-configuration-path default-configuration-table-path)
|
||||
|
@ -801,7 +801,7 @@
|
|||
(call-with-output-file
|
||||
file-path
|
||||
(lambda (out)
|
||||
(pretty-print
|
||||
(pretty-write
|
||||
`(module ,CONFIGURE-SERVLET-NAME racket
|
||||
(require (lib ,CONFIGURE-SERVLET-NAME "web-server" "private"))
|
||||
(provide (all-from (lib ,CONFIGURE-SERVLET-NAME "web-server" "private")))
|
||||
|
|
Loading…
Reference in New Issue
Block a user