Skip to content

Commit 00b8dea

Browse files
mfikesswannodette
authored andcommitted
CLJS-2754: Broken cli tests
1 parent 0ffe3d8 commit 00b8dea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/clojure/cljs/closure.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,8 @@
699699
(copy-from-cache cache-path cacheable jar-file opts))))
700700
;; Files that don't require compilation (cljs.loader for example)
701701
;; need to be copied from JAR to disk.
702-
(when-not (.exists out-file)
702+
(when (or (nil? out-file)
703+
(not (.exists out-file)))
703704
(jar-file-to-disk jar-file (util/output-directory opts) opts))
704705
;; have to call compile-file as it includes more IJavaScript
705706
;; information than ana/parse-ns for now

0 commit comments

Comments
 (0)