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
commit285f8f77e6816cb3a0694455813b5cf2dc50e9bd (patch)
tree0b3fc9abd01ccca43618e7ca4b517a2f6d71f3b6 /Library/Homebrew/cmd/missing.rb
parent5247f44205920023ce666e38ac5fd3e5c74aef83 (diff)
downloadbrew-285f8f77e6816cb3a0694455813b5cf2dc50e9bd.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