dev-cmd/bump-cask-pr: fix sha265 typo

This commit is contained in:
Ruoyu Zhong 2023-04-01 01:07:21 +08:00
parent 244359f314
commit e3eb632034
No known key found for this signature in database
GPG Key ID: 42F3B7E577C2156A

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