Skip to content

Commit a2fd55b

Browse files
committed
fix load-file bug
1 parent 2747012 commit a2fd55b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/clojure/cljs/repl.cljc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,9 @@
609609
env/*compiler*)
610610
(cljsc/compile src
611611
(assoc opts
612-
:output-file (cljsc/src-file->target-file src)
612+
;; need to set opts to nil here so that we don't
613+
;; double up output-dir
614+
:output-file (cljsc/src-file->target-file src nil)
613615
:force true
614616
:mode :interactive)))]
615617
;; copy over the original source file if source maps enabled

0 commit comments

Comments
 (0)