From 0b8eab8dac9586288b23160a93da3a72536e380d Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 11 Aug 2016 14:08:37 +0100 Subject: [PATCH] formula_versions: also silence stderr. We already stop old formula versions printing stdout but this also stops them printing on stderr for e.g. old deprecation warnings. --- Library/Homebrew/formula_versions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_versions.rb b/Library/Homebrew/formula_versions.rb index de285b642d..b6836eada6 100644 --- a/Library/Homebrew/formula_versions.rb +++ b/Library/Homebrew/formula_versions.rb @@ -34,7 +34,7 @@ class FormulaVersions contents = file_contents_at_revision(rev) begin - nostdout { yield Formulary.from_contents(name, path, contents) } + shutup { yield Formulary.from_contents(name, path, contents) } rescue *IGNORED_EXCEPTIONS => e # We rescue these so that we can skip bad versions and # continue walking the history