mirror of
https://github.com/getgrav/grav.git
synced 2025-10-26 07:56:07 +01:00
Minor change in the output
This commit is contained in:
@@ -73,11 +73,10 @@ class UpdateCommand extends Command {
|
||||
|
||||
if (!$this->extensions['total']){
|
||||
$packages = array_map('strtolower', $this->input->getArgument('package'));
|
||||
$this->output->writeln("No extension has been installed in <red>".$this->destination."</red>");
|
||||
$this->output->writeln("Nothing to update.");
|
||||
if (count($packages)){
|
||||
$this->output->writeln("Packages not found: <red>".implode('</red>, <red>', $packages)."</red>");
|
||||
}
|
||||
$this->output->writeln("Nothing to update");
|
||||
}
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user