mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Setting HOMEBREW_ASK
to nil in case it was set before
This commit is contained in:
parent
d8b96a4385
commit
d19de85896
@ -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."
|
||||
|
Loading…
x
Reference in New Issue
Block a user