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/11048/head
Yehuda Katz 2022-08-20 01:41:14 -04:00 committed by Jordi Boggiano
parent 2152b20a94
commit e823f24940
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -600,7 +600,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;