Skip to content

Commit

Permalink
Merge pull request #16915 from Homebrew/bump_no_tap
Browse files Browse the repository at this point in the history
dev-cmd/bump: handle no formula tap case.
  • Loading branch information
MikeMcQuaid committed Mar 20, 2024
2 parents e3de11a + d3ea535 commit f99c9c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/dev-cmd/bump.rb
Expand Up @@ -240,7 +240,7 @@ def skip_ineligible_formulae(formula_or_cask)
name = formula_or_cask.token
text = "Cask is disabled.\n"
end
unless formula_or_cask.tap.allow_bump?(name)
if (tap = formula_or_cask.tap) && !tap.allow_bump?(name)
skip = true
text = "#{text.split.first} is on autobump list.\n"
end
Expand Down

0 comments on commit f99c9c7

Please sign in to comment.