aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/missing.rb
diff options
context:
space:
mode:
authorJack Nagel2014-10-09 00:20:15 -0500
committerJack Nagel2014-10-09 00:20:15 -0500
commit43e5abf6d555e180671394d47b7eb74837067491 (patch)
tree280c49d2d897eed26b1ad9f0de8b1715ae2622c5 /Library/Homebrew/cmd/missing.rb
parenta426300bff38d8705cb6452152bc50b18faf2036 (diff)
downloadhomebrew-43e5abf6d555e180671394d47b7eb74837067491.tar.bz2
Tab#with? accepts the same types as BuildOptions#with?
Diffstat (limited to 'Library/Homebrew/cmd/missing.rb')
-rw-r--r--Library/Homebrew/cmd/missing.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/missing.rb b/Library/Homebrew/cmd/missing.rb
index 686369912..67d10d11f 100644
--- a/Library/Homebrew/cmd/missing.rb
+++ b/Library/Homebrew/cmd/missing.rb
@@ -8,7 +8,7 @@ module Homebrew
missing_deps = f.recursive_dependencies do |dependent, dep|
if dep.optional? || dep.recommended?
tab = Tab.for_formula(dependent)
- Dependency.prune unless tab.with?(dep.name)
+ Dependency.prune unless tab.with?(dep)
elsif dep.build?
Dependency.prune
end