From 5013c17474b5921eab268330bee999818f919d75 Mon Sep 17 00:00:00 2001 From: thibhero Date: Sat, 3 May 2025 15:39:43 -0400 Subject: [PATCH] formatting correctly with `brew style` --- Library/Homebrew/cmd/install.rb | 4 +--- Library/Homebrew/install.rb | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 14c662c68e..b369b7fc28 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -218,9 +218,7 @@ module Homebrew end if casks.any? - if args.options_only.include? "--ask" - opoo "Option --ask is not compatible with casks." - end + opoo "Option --ask is not compatible with casks." if args.options_only.include? "--ask" if args.dry_run? if (casks_to_install = casks.reject(&:installed?).presence) ohai "Would install #{::Utils.pluralize("cask", casks_to_install.count, include_count: true)}:" diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index 52e1fbb2da..f181023614 100644 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -333,6 +333,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)