returning if formulae is empty
This commit is contained in:
parent
d19de85896
commit
1416da262b
@ -332,6 +332,7 @@ module Homebrew
|
||||
|
||||
# If asking the user is enabled, show dependency and size information.
|
||||
def ask(formulae, args:)
|
||||
return if formulae.empty?
|
||||
ohai "Looking for bottles..."
|
||||
|
||||
sized_formulae = compute_sized_formulae(formulae, args: args)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user