1
0
Fork 0

Merge pull request #10076 from aschempp/bugfix/package-type-update

Correctly resolve promises when package type changes
pull/10086/head
Jordi Boggiano 2021-08-29 14:16:01 +02:00 committed by GitHub
commit 8559279025
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -511,7 +511,7 @@ class InstallationManager
}
$installer = $this->getInstaller($targetType);
$promise->then(function () use ($installer, $repo, $target) {
$promise = $promise->then(function () use ($installer, $repo, $target) {
return $installer->install($repo, $target);
});
}