diff --git a/Library/Homebrew/dev-cmd/bump.rb b/Library/Homebrew/dev-cmd/bump.rb index 09e392344f505..c1260fde51267 100644 --- a/Library/Homebrew/dev-cmd/bump.rb +++ b/Library/Homebrew/dev-cmd/bump.rb @@ -156,7 +156,7 @@ def handle_formula_and_casks(formulae_and_casks) retrieve_and_display_info_and_open_pr( formula_or_cask, name, - package_data&.values&.first, + package_data&.values&.first || [], ambiguous_cask: ambiguous_casks.include?(formula_or_cask), ) end