1
0
Fork 0

Fix locked installs

pull/77/merge
Jordi Boggiano 2011-10-30 22:56:10 +01:00
parent 9108a3af7f
commit 7493cf7654
1 changed files with 4 additions and 0 deletions

View File

@ -63,6 +63,10 @@ class Locker
foreach ($lockList as $info) {
$package = $this->repositoryManager->getLocalRepository()->findPackage($info['package'], $info['version']);
if (!$package) {
$package = $this->repositoryManager->findPackage($info['package'], $info['version']);
}
if (!$package) {
throw new \LogicException(sprintf(
'Can not find "%s-%s" package in registered repositories',