Audit check for MACOS_VERSION
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
186a76c741
commit
35a99c240a
@ -385,6 +385,10 @@ class FormulaAuditor
|
|||||||
if text =~ /def options/
|
if text =~ /def options/
|
||||||
problem "Use new-style option definitions."
|
problem "Use new-style option definitions."
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if text =~ /MACOS_VERSION/
|
||||||
|
problem "Use MacOS.version instead of MACOS_VERSION"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def audit
|
def audit
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user