From fd159ed32c399b5f25b0cb3378f1f178440adc27 Mon Sep 17 00:00:00 2001 From: thibhero Date: Sun, 8 Jun 2025 11:32:21 -0400 Subject: [PATCH] updating ask function --- Library/Homebrew/install.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index eed1d65f18..561c27e601 100644 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -336,11 +336,10 @@ module Homebrew ohai "Looking for bottles..." - sized_formulae = compute_sized_formulae(formulae, args: args) - sizes = compute_total_sizes(sized_formulae, debug: args.debug?) + sizes = compute_total_sizes(formulae, debug: args.debug?) - puts "#{::Utils.pluralize("Formula", sized_formulae.count, plural: "e")} \ -(#{sized_formulae.count}): #{sized_formulae.join(", ")}\n\n" + puts "#{::Utils.pluralize("Formula", formulae.count, plural: "e")} \ +(#{formulae.count}): #{formulae.join(", ")}\n\n" puts "Download Size: #{disk_usage_readable(sizes[:download])}" puts "Install Size: #{disk_usage_readable(sizes[:installed])}" puts "Net Install Size: #{disk_usage_readable(sizes[:net])}" if sizes[:net] != 0