Skip to content

Commit b03333c

Browse files
committed
move download prints to stderr
1 parent 3efbd99 commit b03333c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/leiningen/clojure_lsp/binary.clj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,10 @@
8686
(let [server-path (server-path)
8787
server-version (server-version)]
8888
(when-not (.exists server-path)
89-
(println "Downloading and caching clojure-lsp...")
89+
(binding [*out* *err*]
90+
(println "Downloading and caching clojure-lsp..."))
9091
(let [t (System/currentTimeMillis)]
9192
(download! server-path server-version)
92-
(println (format "Downloaded clojure-lsp took %sms" (- (System/currentTimeMillis) t)))))
93+
(binding [*out* *err*]
94+
(println (format "Downloaded clojure-lsp took %sms" (- (System/currentTimeMillis) t))))))
9395
(run-lsp! server-path args)))

0 commit comments

Comments
 (0)