From d19de8589642094957e3b8167e90a3722bf38d12 Mon Sep 17 00:00:00 2001 From: thibhero Date: Wed, 30 Apr 2025 23:50:07 -0400 Subject: [PATCH] Setting `HOMEBREW_ASK` to nil in case it was set before --- Library/Homebrew/cmd/bundle.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Library/Homebrew/cmd/bundle.rb b/Library/Homebrew/cmd/bundle.rb index 7a0089f76e..84e6b3ab23 100755 --- a/Library/Homebrew/cmd/bundle.rb +++ b/Library/Homebrew/cmd/bundle.rb @@ -144,6 +144,9 @@ module Homebrew # Keep this inside `run` to keep --help fast. require "bundle" + # Don't want to ask for input in Bundle + ENV["HOMEBREW_ASK"] = nil + subcommand = args.named.first.presence if %w[exec add remove].exclude?(subcommand) && args.named.size > 1 raise UsageError, "This command does not take more than 1 subcommand argument."