We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e95d95 commit be15b57Copy full SHA for be15b57
src/main/clojure/cljs/build/api.clj
@@ -252,10 +252,13 @@
252
(if (zero? err)
253
(let [is (.getInputStream proc)]
254
(into []
255
- (map (fn [{:strs [file]}] file
256
- {:file file :module-type :commonjs}))
257
- (butlast (json/read-str (slurp is)))))
258
- [])))
+ (map (fn [{:strs [file]}] file
+ {:file file :module-type :commonjs}))
+ (butlast (json/read-str (slurp is)))))
+ (let [es (.getErrorStream proc)]
259
+ (binding [*out* *err*]
260
+ (println (slurp es)))
261
+ []))))
262
263
(comment
264
(add-package-jsons
0 commit comments