dev-cmd/bump : stop using API to load formulae/casks

Even though the command already sets without_api that only
affects how named args are loaded. In this command, we used to load
many formulae and casks all at once using the API according to
user settings. Now we just mandate that all loading must skip the API.
This commit is contained in:
apainintheneck 2023-08-04 19:08:22 -07:00
parent 3f49592181
commit 474656ffaa

View File

@ -79,12 +79,14 @@ module Homebrew
end
end
Homebrew.with_no_api_env do
if formulae_and_casks.present?
handle_formula_and_casks(formulae_and_casks, args)
else
handle_api_response(args)
end
end
end
sig { params(formulae_and_casks: T::Array[T.any(Formula, Cask::Cask)], args: CLI::Args).void }
def handle_formula_and_casks(formulae_and_casks, args)