aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index c54df055d..cd899d45c 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -357,7 +357,7 @@ class Formula
def self.installed
return [] unless HOMEBREW_CELLAR.directory?
- HOMEBREW_CELLAR.children.map do |rack|
+ HOMEBREW_CELLAR.subdirs.map do |rack|
begin
factory(rack.basename.to_s)
rescue FormulaUnavailableError