aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/audit.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index e4e20d5fd..cdd8eaddf 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -947,12 +947,8 @@ class ResourceAuditor
problem "MD5 checksums are deprecated, please use SHA256"
return
when :sha1
- if ARGV.include? "--strict"
- problem "SHA1 checksums are deprecated, please use SHA256"
- return
- else
- len = 40
- end
+ problem "SHA1 checksums are deprecated, please use SHA256"
+ return
when :sha256 then len = 64
end