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}\""
|
problem "No double 'without': Use `build.without? '#{$1}'` to check for \"--without-#{$1}\""
|
||||||
end
|
end
|
||||||
|
|
||||||
if line =~ /ARGV\.(?!(debug\?|verbose\?|value[\(\s]))/
|
unless f.name == 'mongodb' # Mongo writes out a Ruby script that uses ARGV
|
||||||
problem "Use build instead of ARGV to check options"
|
if line =~ /ARGV\.(?!(debug\?|verbose\?|value[\(\s]))/
|
||||||
|
problem "Use build instead of ARGV to check options"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if line =~ /def options/
|
if line =~ /def options/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user