audit: ARGV.find is a warning, .value is allowed
This commit is contained in:
parent
d8d6b254f7
commit
456621bb54
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user