brew-audit - check formula versions

This commit is contained in:
Adam Vandenberg 2011-02-20 15:03:15 -08:00
parent 2fb68be78d
commit aa14eaaf1c

View File

@ -224,6 +224,8 @@ def audit_some_formulae
problems << " * 'DATA' was found, but no '__END__'" problems << " * 'DATA' was found, but no '__END__'"
end end
problems += [' * invalid or missing version'] if f.version.to_s.empty?
# Don't try remaining audits on text in __END__ # Don't try remaining audits on text in __END__
text_without_patch = (text.split("__END__")[0]).strip() text_without_patch = (text.split("__END__")[0]).strip()