Skip to content

Commit 072d87d

Browse files
mfikesdnolen
authored andcommitted
CLJS-2727: cljs.repl/err-out visible from cljs
1 parent ce505b9 commit 072d87d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/clojure/cljs/cli.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ present"
409409
(defn watch-proc [cenv path opts]
410410
(let [log-file (io/file (util/output-directory opts) "watch.log")]
411411
(util/mkdirs log-file)
412-
(repl/err-out (println "Watch compilation log available at:" (str log-file)))
412+
(#'repl/err-out (println "Watch compilation log available at:" (str log-file)))
413413
(let [log-out (FileWriter. log-file)]
414414
(binding [*err* log-out
415415
*out* log-out]

src/main/clojure/cljs/repl.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
:reader :repl-requires :repl-verbose :source-map-inline :watch :watch-fn
4343
:wrap})
4444

45-
(defmacro err-out [& body]
45+
(defmacro ^:private err-out [& body]
4646
`(binding [*out* *err*]
4747
~@body))
4848

0 commit comments

Comments
 (0)