diff options
| author | Adam Vandenberg | 2013-07-07 11:53:37 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-07-17 06:58:10 -0700 |
| commit | 0a42c40a8b69fd6fa0aceed4b185826e1e040eae (patch) | |
| tree | d34c8026b5c8cfab39a3e704a1dc42475a2c4b61 | |
| parent | d53c3ee48aedce7323305378d0493d6cb4d6de02 (diff) | |
| download | homebrew-0a42c40a8b69fd6fa0aceed4b185826e1e040eae.tar.bz2 | |
audit: ARGV.find is a warning, .value is allowed
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 785b63b29..eb14c321d 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -463,7 +463,7 @@ class FormulaAuditor problem "No double 'without': Use `build.without? '#{$1}'` to check for \"--without-#{$1}\"" end - if line =~ /ARGV\.(?!(debug\?|verbose\?|find[\(\s]))/ + if line =~ /ARGV\.(?!(debug\?|verbose\?|value[\(\s]))/ problem "Use build instead of ARGV to check options" end |
