Skip to content

Commit 9de9fac

Browse files
anmonteirodnolen
authored andcommitted
CLJS-1825: :source-map error when passing false under simple optimizations
1 parent 62e4bc9 commit 9de9fac

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
@@ -267,7 +267,7 @@
267267
:else (println "value for" key "must be string, int, float, or bool"))))
268268
(if-let [extra-annotations (:closure-extra-annotations opts)]
269269
(. compiler-options (setExtraAnnotationNames (map name extra-annotations))))
270-
(when (contains? opts :source-map)
270+
(when (:source-map opts)
271271
(if (:modules opts)
272272
;; name is not actually used by Closur in :modules case,
273273
;; but we need to provide _something_ for Closure to not

0 commit comments

Comments
 (0)