diff options
| author | Adam Vandenberg | 2010-07-18 13:57:18 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-08-07 18:08:50 -0700 |
| commit | 73360006048b5e7d222dcb17c3beb40fceb6d4c9 (patch) | |
| tree | 51ae95fdd16e42d6b92cd7093459cef1425f43e4 /Library | |
| parent | 9347a5cb88b27db9ea0050e11062813775fda250 (diff) | |
| download | homebrew-73360006048b5e7d222dcb17c3beb40fceb6d4c9.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| |
