1
0
Fork 0

Merge branch '1.5'

pull/6895/merge
Jordi Boggiano 2017-12-16 22:42:30 +01:00
commit b110f86aa0
1 changed files with 1 additions and 1 deletions

View File

@ -198,11 +198,11 @@ EOT
$versions = array($package->getPrettyVersion() => $package->getVersion()); $versions = array($package->getPrettyVersion() => $package->getVersion());
} }
$exitCode = 0;
if ($input->getOption('tree')) { if ($input->getOption('tree')) {
$this->displayPackageTree($package, $installedRepo, $repos); $this->displayPackageTree($package, $installedRepo, $repos);
} else { } else {
$latestPackage = null; $latestPackage = null;
$exitCode = 0;
if ($input->getOption('latest')) { if ($input->getOption('latest')) {
$latestPackage = $this->findLatestPackage($package, $composer, $phpVersion); $latestPackage = $this->findLatestPackage($package, $composer, $phpVersion);
} }