install.rb: add "no" in --ask output

- improves https://github.com/Homebrew/brew/pull/19254
This commit is contained in:
Osama Albahrani 2025-03-12 00:31:13 +03:00 committed by GitHub
parent 62784545d0
commit fde3538900
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -381,7 +381,7 @@ module Homebrew
end
def ask_input
ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]"
ohai "Do you want to proceed with the installation? [Y/y/yes/N/n/no]"
accepted_inputs = %w[y yes]
declined_inputs = %w[n no]
loop do