From f3c2d27cd04dc813c240c26cc8f819b1347963de Mon Sep 17 00:00:00 2001 From: thibhero Date: Fri, 7 Feb 2025 13:57:51 -0500 Subject: [PATCH] Updating env and option, now using --install-ask --- Library/Homebrew/env_config.rb | 4 ++-- Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/env_config.rb b/Library/Homebrew/env_config.rb index bdc89ed3da..b1049f7b24 100644 --- a/Library/Homebrew/env_config.rb +++ b/Library/Homebrew/env_config.rb @@ -48,8 +48,8 @@ module Homebrew "trying any other/default URLs.", boolean: true, }, - HOMEBREW_ASK: { - description: "If set, pass `--ask`to all formula install commands.", + HOMEBREW_INSTALL_ASK: { + description: "If set, pass `--install-ask`to all formula install commands.", boolean: true, }, HOMEBREW_AUTO_UPDATE_SECS: { diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi index a6a0e07bc0..071c6a8dbc 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi @@ -317,6 +317,6 @@ module Homebrew::EnvConfig def verify_attestations?; end sig { returns(T::Boolean) } - def ask?; end + def install_ask?; end end end