audit: remove silly audit, remove duplicate audit
This commit is contained in:
parent
a0d53f7bc1
commit
4bcdb8aeb3
@ -277,13 +277,8 @@ class FormulaAuditor
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Commented-out cmake support from default template
|
# Commented-out cmake support from default template
|
||||||
if (text =~ /# depends_on 'cmake'/) or (text =~ /# system "cmake/)
|
if (text =~ /# system "cmake/)
|
||||||
problem "Commented cmake support found"
|
problem "Commented cmake call found"
|
||||||
end
|
|
||||||
|
|
||||||
# 2 (or more in an if block) spaces before depends_on, please
|
|
||||||
if text =~ /^\ ?depends_on/
|
|
||||||
problem "Check indentation of 'depends_on'"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# build tools should be flagged properly
|
# build tools should be flagged properly
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user