Merge pull request #10076 from aschempp/bugfix/package-type-update
Correctly resolve promises when package type changespull/10086/head
commit
8559279025
|
@ -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);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue