audit: skip an audit for mongodb
This commit is contained in:
parent
456621bb54
commit
ebcf8be789
@ -463,8 +463,10 @@ class FormulaAuditor
|
||||
problem "No double 'without': Use `build.without? '#{$1}'` to check for \"--without-#{$1}\""
|
||||
end
|
||||
|
||||
if line =~ /ARGV\.(?!(debug\?|verbose\?|value[\(\s]))/
|
||||
problem "Use build instead of ARGV to check options"
|
||||
unless f.name == 'mongodb' # Mongo writes out a Ruby script that uses ARGV
|
||||
if line =~ /ARGV\.(?!(debug\?|verbose\?|value[\(\s]))/
|
||||
problem "Use build instead of ARGV to check options"
|
||||
end
|
||||
end
|
||||
|
||||
if line =~ /def options/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user