Skip to content

Commit

Permalink
Suppress output from project.clj's while reading them.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chouser committed Jan 2, 2014
1 parent dcacf74 commit 7839bd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/leiningen/voom.clj
Expand Up @@ -393,7 +393,8 @@
(try (try
(spit tmp-file (spit tmp-file
(:out (git {:gitdir gitdir} "cat-file" "-p" (str blob-sha)))) (: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 (catch Exception e
;; It was really just a best effort anyway. Silently ignore. ;; It was really just a best effort anyway. Silently ignore.
nil) nil)
Expand Down

0 comments on commit 7839bd3

Please sign in to comment.