Skip to content

Commit 2cb29c5

Browse files
author
dnolen
committed
CLJS-2554: cljs.main: dir, source, doc, etc not auto-required in browser REPL
We don't need to get REPL options, happens in the REPL
1 parent da91c84 commit 2cb29c5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/clojure/cljs/cli.clj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,9 @@ classpath. Classpath-relative paths have prefix of @ or @/")
234234
"Start a repl with args and inits. Print greeting if no eval options were
235235
present"
236236
[repl-env [_ & args] {:keys [repl-env-options options inits] :as cfg}]
237-
(let [renv (apply repl-env (mapcat identity repl-env-options))
238-
opts (merge (repl/repl-options renv) options)]
237+
(let [renv (apply repl-env (mapcat identity repl-env-options))]
239238
(repl/repl* renv
240-
(assoc opts
239+
(assoc options
241240
:inits
242241
(into
243242
[{:type :init-forms

0 commit comments

Comments
 (0)