We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ace7e1f commit f475126Copy full SHA for f475126
src/main/clojure/cljs/closure.clj
@@ -601,7 +601,8 @@
601
(when (or (nil? out-file)
602
(comp/requires-compilation? jar-file out-file opts))
603
;; actually compile from JAR
604
- (if-not (:aot-cache opts)
+ (if (or (not (:aot-cache opts))
605
+ (not (.canWrite (io/file (System/getProperty "user.home")))))
606
(-compile (jar-file-to-disk jar-file (util/output-directory opts) opts) opts)
607
(let [cache-path (ana/cache-base-path (util/path jar-file) opts)]
608
(when-not (.exists (:output-file cacheable))
0 commit comments