mirror of
https://github.com/composer/composer
synced 2025-05-11 01:22:54 +00:00
Fix show command
This commit is contained in:
parent
ed65625126
commit
e67030076a
1 changed files with 1 additions and 1 deletions
|
@ -553,7 +553,7 @@ EOT
|
||||||
$matches[$index] = $package->getId();
|
$matches[$index] = $package->getId();
|
||||||
}
|
}
|
||||||
|
|
||||||
$pool = $repositorySet->createPool();
|
$pool = $repositorySet->createPoolForPackage($package->getName());
|
||||||
|
|
||||||
// select preferred package according to policy rules
|
// select preferred package according to policy rules
|
||||||
if (!$matchedPackage && $matches && $preferred = $policy->selectPreferredPackages($pool, array(), $matches)) {
|
if (!$matchedPackage && $matches && $preferred = $policy->selectPreferredPackages($pool, array(), $matches)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue