audit: ARGV.find is a warning, .value is allowed

This commit is contained in:
Adam Vandenberg 2013-07-07 11:53:37 -07:00
parent d8d6b254f7
commit 456621bb54

View File

@ -463,7 +463,7 @@ class FormulaAuditor
problem "No double 'without': Use `build.without? '#{$1}'` to check for \"--without-#{$1}\"" problem "No double 'without': Use `build.without? '#{$1}'` to check for \"--without-#{$1}\""
end end
if line =~ /ARGV\.(?!(debug\?|verbose\?|find[\(\s]))/ if line =~ /ARGV\.(?!(debug\?|verbose\?|value[\(\s]))/
problem "Use build instead of ARGV to check options" problem "Use build instead of ARGV to check options"
end end