Fix outdated command on linux
parent
313dd14f1e
commit
6c94cb89d1
|
@ -50,8 +50,8 @@ EOT
|
||||||
|
|
||||||
protected function execute(InputInterface $input, OutputInterface $output)
|
protected function execute(InputInterface $input, OutputInterface $output)
|
||||||
{
|
{
|
||||||
// create new input without "global" command prefix
|
$pkg = $input->getArgument('package') ? ProcessExecutor::escape($input->getArgument('package')) : '';
|
||||||
$input = new StringInput('show --latest '.ProcessExecutor::escape($input->getArgument('package')));
|
$input = new StringInput('show --latest '.$pkg);
|
||||||
|
|
||||||
return $this->getApplication()->run($input, $output);
|
return $this->getApplication()->run($input, $output);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue