audit: fix checksum audit

This commit is contained in:
Rylan Polster 2020-11-09 09:44:03 -05:00
parent 015bdf4b3f
commit 8a58dc09cd

View File

@ -915,7 +915,7 @@ module Homebrew
break if previous_version && current_version != previous_version
end
if current_version == previous_version &&
if current_version == newest_committed_version &&
current_checksum != newest_committed_checksum
problem(
"stable sha256 changed without the version also changing; " \