1
0
Fork 0

Fix outdated command not forwarding some global options correctly

pull/12147/head
Jordi Boggiano 2024-10-03 14:05:32 +02:00
parent b3d20319e9
commit d3f40ca52d
No known key found for this signature in database
1 changed files with 12 additions and 0 deletions

View File

@ -71,6 +71,18 @@ EOT
'command' => 'show',
'--latest' => true,
];
if ($input->getOption('no-interaction')) {
$args['--no-interaction'] = true;
}
if ($input->getOption('no-plugins')) {
$args['--no-plugins'] = true;
}
if ($input->getOption('no-scripts')) {
$args['--no-scripts'] = true;
}
if ($input->getOption('no-cache')) {
$args['--no-cache'] = true;
}
if (!$input->getOption('all')) {
$args['--outdated'] = true;
}