aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/audit.rb
diff options
context:
space:
mode:
authorJack Nagel2013-04-06 22:10:43 -0500
committerJack Nagel2013-04-06 22:10:43 -0500
commit19ad297649f446e973bafb9853799f49602e8386 (patch)
treeef91d49edf3a5f56b056e23a8a319b9a97ae567a /Library/Homebrew/cmd/audit.rb
parent11774c888c7f78afb903ec75d942867d832d5899 (diff)
downloadhomebrew-19ad297649f446e973bafb9853799f49602e8386.tar.bz2
audit: rescue only FormulaUnavailableError
Diffstat (limited to 'Library/Homebrew/cmd/audit.rb')
-rw-r--r--Library/Homebrew/cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 8523102a8..5506c5f66 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -130,7 +130,7 @@ class FormulaAuditor
f.deps.each do |dep|
begin
dep_f = dep.to_formula
- rescue
+ rescue FormulaUnavailableError
problem "Can't find dependency #{dep.name.inspect}."
end