diff options
| author | Jack Nagel | 2014-06-07 17:49:07 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-07 21:15:56 -0500 |
| commit | fcacb25cd5ca92b12a19a92b5e1a562d82392aec (patch) | |
| tree | 29fc6770d112d12fa87f09bce9f1de9495ff7f4d /Library/Homebrew/cmd | |
| parent | fef866aae4f13d2789d156de33fce1ab1e99db5f (diff) | |
| download | brew-fcacb25cd5ca92b12a19a92b5e1a562d82392aec.tar.bz2 | |
Eliminate FORMULA_META_FILES constant
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/list.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/list.rb b/Library/Homebrew/cmd/list.rb index 8952f4873..4ca2d8531 100644 --- a/Library/Homebrew/cmd/list.rb +++ b/Library/Homebrew/cmd/list.rb @@ -1,3 +1,5 @@ +require "metafiles" + module Homebrew extend self def list @@ -100,7 +102,7 @@ class PrettyListing else print_dir pn end - elsif FORMULA_META_FILES.should_list? pn.basename.to_s + elsif Metafiles.list?(pn.basename.to_s) puts pn end end |
