audit: hint about depends_on Class
This commit is contained in:
parent
871f3a091a
commit
68d312c46f
@ -410,6 +410,10 @@ class FormulaAuditor
|
|||||||
if text =~ /skip_clean\s+:all/
|
if text =~ /skip_clean\s+:all/
|
||||||
problem "`skip_clean :all` is deprecated; brew no longer strips symbols"
|
problem "`skip_clean :all` is deprecated; brew no longer strips symbols"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if text =~ /depends_on (.*)\.new\s*[^(]/
|
||||||
|
problem "`depends_on` can take requirement classes directly"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def audit
|
def audit
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user