1
0
Fork 0

Match default choice to actual default (#11010)

The 'Y' is capital, so Yes should be the default choice and is what most people would want, but No was the default.
pull/11008/head
Yehuda Katz 2022-08-20 01:41:14 -04:00 committed by GitHub
parent 20b3e3e79c
commit cad5dc5b8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -596,7 +596,7 @@ TAGSPUBKEY
$helpMessage = 'Please run the self-update command as an Administrator.';
$question = 'Complete this operation with Administrator privileges [<comment>Y,n</comment>]? ';
if (!$io->askConfirmation($question, false)) {
if (!$io->askConfirmation($question, true)) {
$io->writeError('<warning>Operation cancelled. '.$helpMessage.'</warning>');
return false;