Fix show --locked to avoid listing all the things
parent
da1357c663
commit
e7d99c37b3
|
@ -196,8 +196,7 @@ EOT
|
|||
}
|
||||
$locker = $composer->getLocker();
|
||||
$lockedRepo = $locker->getLockedRepository(true);
|
||||
$installedRepo = new InstalledRepository(array($lockedRepo));
|
||||
$repos = new CompositeRepository(array_merge(array($installedRepo), $composer->getRepositoryManager()->getRepositories()));
|
||||
$repos = $installedRepo = new InstalledRepository(array($lockedRepo));
|
||||
} else {
|
||||
// --installed / default case
|
||||
if (!$composer) {
|
||||
|
|
Loading…
Reference in New Issue