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

brew audit - check for empty md5

parent 0734fa00
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,11 @@ ff.each do |f|
problems << " * \"#{$1}\" should be \"\#{#{$2}}\""
end
# Empty checksums
if text =~ /md5\s+\'\'/
problems << " * md5 is empty"
end
# Don't complain about spaces in patches
split_patch = (text.split("__END__")[0]).strip()
if split_patch =~ /[ ]+$/
......
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