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/
|
||||
problem "Use new-style option definitions."
|
||||
end
|
||||
|
||||
if text =~ /MACOS_VERSION/
|
||||
problem "Use MacOS.version instead of MACOS_VERSION"
|
||||
end
|
||||
end
|
||||
|
||||
def audit
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user