[11744] handle missing hyphen when attempting to run self-update… (#11775)
* [11744] handle missing hyphen when attempting to run self-update command * fix: [1744] silently fix the "self update" commandpull/11785/head
parent
8246892d48
commit
d00e38a038
|
@ -156,6 +156,10 @@ EOT
|
|||
return $this->rollback($output, $rollbackDir, $localFilename);
|
||||
}
|
||||
|
||||
if ($input->getArgument('command') === 'self' && $input->getArgument('version') === 'update') {
|
||||
$input->setArgument('version', null);
|
||||
}
|
||||
|
||||
$latest = $versionsUtil->getLatest();
|
||||
$latestStable = $versionsUtil->getLatest('stable');
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue