diff options
| author | Xu Cheng | 2015-11-29 15:34:07 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-11-29 20:24:30 +0800 |
| commit | aaa945be686f885cc87e8e41d8861ab12955f674 (patch) | |
| tree | 50e805130ad026159fcce01f54e198877badbadf /Library/Homebrew/cmd | |
| parent | 3e99f16a7d2330fc636152022bb66e93ac0a3c6c (diff) | |
| download | brew-aaa945be686f885cc87e8e41d8861ab12955f674.tar.bz2 | |
missing: use installed_prefixes
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/missing.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/missing.rb b/Library/Homebrew/cmd/missing.rb index 14d76f54e..6805548a8 100644 --- a/Library/Homebrew/cmd/missing.rb +++ b/Library/Homebrew/cmd/missing.rb @@ -15,7 +15,7 @@ module Homebrew end missing_deps.map!(&:to_formula) - missing_deps.reject! { |d| d.rack.exist? && d.rack.subdirs.length > 0 } + missing_deps.reject! { |d| d.installed_prefixes.any? } unless missing_deps.empty? yield f.full_name, missing_deps if block_given? |
