aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-08-11 14:08:37 +0100
committerMike McQuaid2016-08-11 14:08:37 +0100
commit0b8eab8dac9586288b23160a93da3a72536e380d (patch)
treeacf520301f6b292cdc81c63d6ecf035e1c9959f3 /Library
parent24b5db53672843647da29073060bff3f81b05b90 (diff)
downloadbrew-0b8eab8dac9586288b23160a93da3a72536e380d.tar.bz2
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.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_versions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_versions.rb b/Library/Homebrew/formula_versions.rb
index de285b642..b6836eada 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