From 473bdadbcd0f87fdeda98f73b25bb47a14221281 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Mon, 22 May 2017 02:04:02 +0200 Subject: [PATCH] Change error messages. --- Library/Homebrew/cask/lib/hbc/audit.rb | 2 +- Library/Homebrew/dev-cmd/audit.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/cask/lib/hbc/audit.rb b/Library/Homebrew/cask/lib/hbc/audit.rb index 6569da1264..cee1fe8070 100644 --- a/Library/Homebrew/cask/lib/hbc/audit.rb +++ b/Library/Homebrew/cask/lib/hbc/audit.rb @@ -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 diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 4f71189c9b..516388c688 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -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]