mirror of
https://github.com/getgrav/grav.git
synced 2026-03-04 19:41:36 +01:00
update Console/GPM for refactored Common/GPM
This commit is contained in:
@@ -78,12 +78,12 @@ class InfoCommand extends Command
|
||||
$this->output->writeln('');
|
||||
|
||||
$packageURL = '';
|
||||
if (isset($foundPackage->author->url)) {
|
||||
$packageURL = '<' . $foundPackage->author->url . '>';
|
||||
if (isset($foundPackage->author['url'])) {
|
||||
$packageURL = '<' . $foundPackage->author['url'] . '>';
|
||||
}
|
||||
|
||||
$this->output->writeln("<green>" . str_pad("Author",
|
||||
12) . ":</green> " . $foundPackage->author->name . ' <' . $foundPackage->author->email . '> ' . $packageURL);
|
||||
12) . ":</green> " . $foundPackage->author['name'] . ' <' . $foundPackage->author['email'] . '> ' . $packageURL);
|
||||
|
||||
foreach (array(
|
||||
'version',
|
||||
|
||||
Reference in New Issue
Block a user