aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/cli
diff options
context:
space:
mode:
authorMarkus Reiter2017-05-07 06:41:40 +0200
committerMarkus Reiter2017-05-22 02:01:57 +0200
commit1a96dc39d1d74794de3216dc254e82702a48dddb (patch)
tree16bd44b120bd7bfe550ce3bc47043aef3b627ff9 /Library/Homebrew/cask/lib/hbc/cli
parent6d8c170e50b6ee232e4f8958c92735bf411a72e9 (diff)
downloadbrew-1a96dc39d1d74794de3216dc254e82702a48dddb.tar.bz2
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