Change error messages.
This commit is contained in:
parent
798af25466
commit
473bdadbcd
@ -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
|
||||
|
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user