From e3eb63203499471b061bbe60e7e4ac7616aaf7b5 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Sat, 1 Apr 2023 01:07:21 +0800 Subject: [PATCH] dev-cmd/bump-cask-pr: fix `sha265` typo --- Library/Homebrew/dev-cmd/bump-cask-pr.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/dev-cmd/bump-cask-pr.rb b/Library/Homebrew/dev-cmd/bump-cask-pr.rb index fe6303d764..be951dadbd 100644 --- a/Library/Homebrew/dev-cmd/bump-cask-pr.rb +++ b/Library/Homebrew/dev-cmd/bump-cask-pr.rb @@ -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