Skip to content

Commit 93544d6

Browse files
author
dnolen
committed
fix verbose logging, log cached js being copied over, not original
source
1 parent f0b7fac commit 93544d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/clojure/cljs/closure.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@
643643
(-> (.getAbsolutePath f)
644644
(string/replace (.getAbsolutePath cache-path) "")
645645
(subs 1)))]
646-
(when (and ana/*verbose* (= :source k))
646+
(when (and (or ana/*verbose* (:verbose opts)) (= :out-file k))
647647
(util/debug-prn (str "Copying cached " f " to " target)))
648648
(spit target (slurp f))
649649
(.setLastModified target (util/last-modified jar-file)))))))

0 commit comments

Comments
 (0)