aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/cli
diff options
context:
space:
mode:
authorMarkus Reiter2017-05-22 02:23:33 +0200
committerGitHub2017-05-22 02:23:33 +0200
commit8f068a356dfe4769905d2487533b9e8124287098 (patch)
tree9097e725239a045c34e0e3aafb9ea67ee7e4d15d /Library/Homebrew/cask/lib/hbc/cli
parent6d8c170e50b6ee232e4f8958c92735bf411a72e9 (diff)
parent473bdadbcd0f87fdeda98f73b25bb47a14221281 (diff)
downloadbrew-8f068a356dfe4769905d2487533b9e8124287098.tar.bz2
Merge pull request #2601 from reitermarkus/audit-version-checksum
Add audit check to see if both version and checksum changed.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/cli')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli/internal_audit_modified_casks.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/internal_audit_modified_casks.rb b/Library/Homebrew/cask/lib/hbc/cli/internal_audit_modified_casks.rb
index 9467cccc7..1a8ca0e98 100644
--- a/Library/Homebrew/cask/lib/hbc/cli/internal_audit_modified_casks.rb
+++ b/Library/Homebrew/cask/lib/hbc/cli/internal_audit_modified_casks.rb
@@ -97,7 +97,8 @@ module Hbc
audit_download = audit_download?(cask, cask_file)
check_token_conflicts = added_cask_files.include?(cask_file)
success = Auditor.audit(cask, audit_download: audit_download,
- check_token_conflicts: check_token_conflicts)
+ check_token_conflicts: check_token_conflicts,
+ commit_range: commit_range)
failed_casks << cask unless success
end