Merge pull request #15826 from apainintheneck/stop-using-api-in-bump
dev-cmd/bump : stop using API to load formulae/casks
This commit is contained in:
commit
22afefce8e
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user