Skip to content

Commit

Permalink
CLJS-1746: Log the result of loading a dependency
Browse files Browse the repository at this point in the history
It traces the result of loading a dependency in load-deps when :verbose is true, that was just
ignored before.
  • Loading branch information
arichiardi authored and swannodette committed Aug 15, 2016
1 parent bc7f1d4 commit aaf18ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/cljs/cljs/js.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,8 @@
(dissoc :ns))]
(require bound-vars dep opts'
(fn [res]
(when (:verbose opts)
(debug-prn "Loading result: " res))
(if-not (:error res)
(load-deps bound-vars ana-env lib (next deps) opts cb)
(if-let [cljs-dep (let [cljs-ns (ana/clj-ns->cljs-ns dep)]
Expand Down

0 comments on commit aaf18ec

Please sign in to comment.