From b48f85f991554633c9ce465e1c853987fea78deb Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Wed, 20 Mar 2024 13:40:35 -0700 Subject: [PATCH] Fix nil repositories in dev-cmd bump --- Library/Homebrew/dev-cmd/bump.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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