Show version in composer show --self
parent
5dd5332623
commit
59edd4e6d6
|
@ -94,6 +94,8 @@ EOT
|
|||
if (!$package) {
|
||||
throw new \InvalidArgumentException('Package '.$input->getArgument('package').' not found');
|
||||
}
|
||||
} else {
|
||||
$versions = array($package->getPrettyVersion() => $package->getVersion());
|
||||
}
|
||||
|
||||
$this->printMeta($input, $output, $package, $versions, $installedRepo, $repos);
|
||||
|
|
Loading…
Reference in New Issue