aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-07-07 11:53:37 -0700
committerAdam Vandenberg2013-07-17 06:58:10 -0700
commit456621bb5487812d55918f34793f31ac0d8cbb33 (patch)
tree81560abca2dba93c59a6fd632329f3873db591f7 /Library
parentd8d6b254f7099aed28e9b060f1599a5935eb3f0c (diff)
downloadbrew-456621bb5487812d55918f34793f31ac0d8cbb33.tar.bz2
audit: ARGV.find is a warning, .value is allowed
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb2
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