mirror of
https://github.com/getgrav/grav.git
synced 2026-05-07 10:17:16 +02:00
fix for 'installed undefined' error
This commit is contained in:
@@ -58,6 +58,8 @@ class VersionCommand extends Command
|
||||
$this->gpm = new GPM($this->input->getOption('force'));
|
||||
$packages = $this->input->getArgument('package');
|
||||
|
||||
$installed = false;
|
||||
|
||||
if (!count($packages)) {
|
||||
$packages = ['grav'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user