Skip to content
Snippets Groups Projects
Commit 68d312c4 authored by Adam Vandenberg's avatar Adam Vandenberg
Browse files

audit: hint about depends_on Class

parent 871f3a09
No related branches found
No related tags found
No related merge requests found
......@@ -410,6 +410,10 @@ class FormulaAuditor
if text =~ /skip_clean\s+:all/
problem "`skip_clean :all` is deprecated; brew no longer strips symbols"
end
if text =~ /depends_on (.*)\.new\s*[^(]/
problem "`depends_on` can take requirement classes directly"
end
end
def audit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment