Change error messages.

This commit is contained in:
Markus Reiter 2017-05-22 02:04:02 +02:00
parent 798af25466
commit 473bdadbcd
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ module Hbc
return unless previous_cask.version == cask.version
return if previous_cask.sha256 == cask.sha256
add_error "only sha256 changed; needs to be confirmed by the developer"
add_error "only sha256 changed (see: https://github.com/caskroom/homebrew-cask/blob/master/doc/cask_language_reference/stanzas/sha256.md)"
end
def check_version

View File

@ -752,7 +752,7 @@ class FormulaAuditor
next unless spec = formula.send(spec_sym)
next unless previous_version_and_checksum[spec_sym][:version] == spec.version
next if previous_version_and_checksum[spec_sym][:checksum] == spec.checksum
problem "#{spec_sym}: only sha256 changed; needs to be confirmed by the developer"
problem "#{spec_sym}: sha256 changed without the version also changing; please create an issue upstream to rule out malicious circumstances and to find out why the file changed."
end
attributes = [:revision, :version_scheme]