1
0
Fork 0

Correctly resolve promises when package type changes

pull/10076/head
Andreas Schempp 2021-08-25 22:35:34 +02:00
parent 73c109c561
commit 0bed60e631
1 changed files with 1 additions and 1 deletions

View File

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