aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2017-03-30 20:25:18 +0100
committerGitHub2017-03-30 20:25:18 +0100
commit1ba401039eeafec6dca464e9be18a5257a3d89bc (patch)
tree1b432c8b9fa9fa6f0e17a9589e1377a4e4b07282 /Library
parenta582be06c25939d36a6edbf5f68237048d98c7df (diff)
parent689c1d5aa125de2c4dd55a5e59a030afd3cb8475 (diff)
downloadbrew-1ba401039eeafec6dca464e9be18a5257a3d89bc.tar.bz2
Merge pull request #2422 from MikeMcQuaid/formula-missing-dependencies-handle-unavailable-formula
formula: handle missing deps when formula missing.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 00af3e19e..523de244d 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -1557,6 +1557,8 @@ class Formula
hide.include?(d.name) || d.installed_prefixes.empty?
end
missing_dependencies
+ rescue FormulaUnavailableError
+ []
end
# @private