mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-15 19:56:59 +08:00
brew-audit - check formula versions
This commit is contained in:
parent
2fb68be78d
commit
aa14eaaf1c
@ -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()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user