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

brew-audit - check formula versions

parent 2fb68be7
No related branches found
No related tags found
No related merge requests found
......@@ -224,6 +224,8 @@ def audit_some_formulae
problems << " * 'DATA' was found, but no '__END__'"
end
problems += [' * invalid or missing version'] if f.version.to_s.empty?
# Don't try remaining audits on text in __END__
text_without_patch = (text.split("__END__")[0]).strip()
......
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