Skip to content

Commit a15846b

Browse files
committed
CLJS-2305 Tests: Unable to resolve symbol: opts in this context
1 parent 870d873 commit a15846b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/main/clojure/cljs/closure.clj

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2020,10 +2020,11 @@
20202020
(update opts :modules
20212021
#(ensure-cljs-base-module % opts)))
20222022

2023-
(defn shim-process? [{:keys [target process-shim]}]
2024-
(if (= target :nodejs)
2025-
(true? (:process-shim opts))
2026-
(not (false? (:process-shim opts)))))
2023+
(defn shim-process?
2024+
[{:keys [target process-shim] :as opts}]
2025+
(if (= :nodejs target)
2026+
(true? process-shim)
2027+
(not (false? process-shim))))
20272028

20282029
(defn add-implicit-options
20292030
[{:keys [optimizations output-dir]

0 commit comments

Comments
 (0)