We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 517d623 commit a14bcedCopy full SHA for a14bced
1 file changed
src/main/clojure/cljs/closure.clj
@@ -637,7 +637,7 @@
637
(let [cache-path (cache-base-path opts)]
638
(when-not (.exists (:output-file cacheable))
639
(-compile (jar-file-to-disk jar-file cache-path opts)
640
- (assoc opts :output-dir cache-path)))
+ (assoc opts :output-dir (util/path cache-path))))
641
(doseq [[k ^File f] cacheable]
642
(when (.exists f)
643
(let [target (io/file (util/output-directory opts)
@@ -646,6 +646,7 @@
646
(subs 1)))]
647
(when (and (or ana/*verbose* (:verbose opts)) (= :out-file k))
648
(util/debug-prn (str "Copying cached " f " to " target)))
649
+ (util/mkdirs target)
650
(spit target (slurp f))
651
(.setLastModified target (util/last-modified jar-file)))))))
652
;; have to call compile-file as it includes more IJavaScript
0 commit comments