diff options
| author | Xu Cheng | 2015-05-17 19:59:18 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-05-27 13:53:41 +0800 |
| commit | ef3f0f09452203fe1e4d07c0cf908e4e902abc7d (patch) | |
| tree | f64c8baa68f4f6f60f34a0a426b9f9a25003a432 /Library | |
| parent | d2f7a2c410c3b6912f9f905e8e33080cd7e7bbf5 (diff) | |
| download | brew-ef3f0f09452203fe1e4d07c0cf908e4e902abc7d.tar.bz2 | |
audit: handle TapFormulaAmbiguityError
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 923ea0cc1..d8508f26a 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -174,6 +174,9 @@ class FormulaAuditor rescue FormulaUnavailableError problem "Can't find dependency #{dep.name.inspect}." next + rescue TapFormulaAmbiguityError + problem "Ambiguous dependency #{dep.name.inspect}." + next end if @@aliases.include?(dep.name) @@ -231,6 +234,8 @@ class FormulaAuditor next rescue FormulaUnavailableError problem "Can't find conflicting formula #{c.name.inspect}." + rescue TapFormulaAmbiguityError + problem "Ambiguous conflicting formula #{c.name.inspect}." end end end |
