mirror of
https://github.com/composer/composer
synced 2025-05-10 17:12:51 +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();
|
||||
}
|
||||
|
||||
$pool = $repositorySet->createPool();
|
||||
$pool = $repositorySet->createPoolForPackage($package->getName());
|
||||
|
||||
// select preferred package according to policy rules
|
||||
if (!$matchedPackage && $matches && $preferred = $policy->selectPreferredPackages($pool, array(), $matches)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue