diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index f001f41578..52e1fbb2da 100644 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -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)