Correctly resolve promises when package type changes
parent
73c109c561
commit
0bed60e631
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue