Merge pull request #16915 from Homebrew/bump_no_tap
dev-cmd/bump: handle no formula tap case.
This commit is contained in:
commit
f99c9c7a7b
@ -240,7 +240,7 @@ module Homebrew
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user