mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
returning previously if there is no formulae to upgrade
resolves #20177
This commit is contained in:
parent
4fd7c6fa8d
commit
06cb0cd197
@ -236,6 +236,8 @@ module Homebrew
|
|||||||
verbose: args.verbose?,
|
verbose: args.verbose?,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
return false if formulae_installer.blank?
|
||||||
|
|
||||||
dependants = Upgrade.dependants(
|
dependants = Upgrade.dependants(
|
||||||
formulae_to_install,
|
formulae_to_install,
|
||||||
flags: args.flags_only,
|
flags: args.flags_only,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user