Skip to content

Commit 12ce923

Browse files
committed
CLJS-2898: cljs.main: ClojureScript version should not be displayed if there are inits
1 parent f4cc128 commit 12ce923

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/clojure/cljs/cli.clj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,11 @@ present"
325325
(or (fast-initial-prompt? repl-env inits)
326326
(::repl/fast-initial-prompt? (repl/repl-options renv)))
327327

328+
:quit-prompt
329+
(if (empty? inits)
330+
repl/repl-title
331+
(constantly nil))
332+
328333
:inits
329334
(into
330335
[{:type :init-forms

0 commit comments

Comments
 (0)