Skip to content
Snippets Groups Projects
Commit 871dc504 authored by Seeker's avatar Seeker
Browse files

bump-formula-pr: exit with error if formula is disabled

parent 16f936a5
No related branches found
No related tags found
No related merge requests found
......@@ -133,6 +133,8 @@ module Homebrew
formula ||= determine_formula_from_url(new_url) if new_url
raise FormulaUnspecifiedError unless formula
odie "This formula is disabled!" if formula.disabled?
tap_full_name, origin_branch, previous_branch = use_correct_linux_tap(formula, args: args)
check_open_pull_requests(formula, tap_full_name, args: args)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment