Skip to content

Commit

Permalink
CLJS-808: Warning from find-classpath-lib mistakenly included in ge…
Browse files Browse the repository at this point in the history
…nerated source
  • Loading branch information
swannodette committed Mar 27, 2015
1 parent 4eebd45 commit 9cddd75
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/clj/cljs/js_deps.clj
Original file line number Diff line number Diff line change
Expand Up @@ -303,5 +303,9 @@ JavaScript library containing provide/require 'declarations'."
(let [{:keys [provides] :as lib-info} (library-graph-node lib-resource)]
(if (some #{(name lib)} provides)
lib-info
(println (format "WARNING: JavaScript file found on classpath for library `%s`, but does not contain a corresponding `goog.provide` declaration: %s"
lib lib-resource))))))
(binding [*out* *err*]
(println
(format
(str "WARNING: JavaScript file found on classpath for library `%s`, "
"but does not contain a corresponding `goog.provide` declaration: %s")
lib lib-resource)))))))

0 comments on commit 9cddd75

Please sign in to comment.