Skip to content

Commit 94b8dd0

Browse files
author
dnolen
committed
CLJS-2573: cljs.main: require with -e prints blank line
1 parent 06e121b commit 94b8dd0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/clojure/cljs/repl.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@
779779
(.printStackTrace e *err*)))
780780

781781
(defn repl-nil? [x]
782-
(boolean (= "nil" x)))
782+
(boolean (#{"" "nil"} x)))
783783

784784
(defn run-inits [renv inits]
785785
(doseq [{:keys [type] :as init} inits]

0 commit comments

Comments
 (0)