Browse files

Suppress output from project.clj's while reading them.

  • Loading branch information...
1 parent dcacf74 commit 7839bd3f9f0cafeae50d6d2b2b4fc4bfd4dcfeba @Chouser Chouser committed Jan 2, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/leiningen/voom.clj
@@ -393,7 +393,8 @@
(spit tmp-file
(:out (git {:gitdir gitdir} "cat-file" "-p" (str blob-sha))))
- (project/read (str tmp-file))
+ (binding [*out* null-writer, *err* null-writer]
+ (project/read (str tmp-file)))
(catch Exception e
;; It was really just a best effort anyway. Silently ignore.

0 comments on commit 7839bd3

Please sign in to comment.