diff options
| author | Adam Vandenberg | 2010-07-18 13:57:18 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-08-07 18:08:50 -0700 |
| commit | bead62a04aaa643a717af58b15c7272e7c802ff4 (patch) | |
| tree | 42daf9c062ecb88a3273eeed178d94f165dd06d2 /Library | |
| parent | dad4bbb9e32799b1c19d4d431aa90fe4b2c16ad0 (diff) | |
| download | brew-bead62a04aaa643a717af58b15c7272e7c802ff4.tar.bz2 | |
Fix brew-audit
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/examples/brew-audit.rb | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Library/Contributions/examples/brew-audit.rb b/Library/Contributions/examples/brew-audit.rb index 147587b7c..93135235b 100755 --- a/Library/Contributions/examples/brew-audit.rb +++ b/Library/Contributions/examples/brew-audit.rb @@ -2,15 +2,8 @@ require 'formula' require 'utils' def ff - if ARGV.named.empty? - stuff = [] - Formulary.read_all do |name,k| - stuff << Formula.factory(name) - end - return stuff - else - return ARGV.formulae - end + return Formula.all if ARGV.named.empty? + return ARGV.formulae end ff.each do |f| |
