Skip to content

Commit aaf18ec

Browse files
arichiardiswannodette
authored andcommitted
CLJS-1746: Log the result of loading a dependency
It traces the result of loading a dependency in load-deps when :verbose is true, that was just ignored before.
1 parent bc7f1d4 commit aaf18ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/cljs/cljs/js.cljs

+2
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,8 @@
343343
(dissoc :ns))]
344344
(require bound-vars dep opts'
345345
(fn [res]
346+
(when (:verbose opts)
347+
(debug-prn "Loading result: " res))
346348
(if-not (:error res)
347349
(load-deps bound-vars ana-env lib (next deps) opts cb)
348350
(if-let [cljs-dep (let [cljs-ns (ana/clj-ns->cljs-ns dep)]

0 commit comments

Comments
 (0)