Merge pull request #15116 from ZhongRuoyu/bump-cask-pr-sha256

This commit is contained in:
Issy Long 2023-03-31 18:37:47 +01:00 committed by GitHub
commit 931327df1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ module Homebrew
Cask::DSL::Version.new(new_version)
end
new_hash = unless (new_hash = args.sha265).nil?
new_hash = unless (new_hash = args.sha256).nil?
raise UsageError, "`--sha256` must not be empty." if new_hash.blank?
["no_check", ":no_check"].include?(new_hash) ? :no_check : new_hash