pull/3538/merge
parent
bef89604e2
commit
cc4223e6f9
|
@ -284,13 +284,13 @@ class Factory
|
||||||
$pm = $this->createPluginManager($composer, $io, $globalRepository);
|
$pm = $this->createPluginManager($composer, $io, $globalRepository);
|
||||||
$composer->setPluginManager($pm);
|
$composer->setPluginManager($pm);
|
||||||
|
|
||||||
|
// purge packages if they have been deleted on the filesystem
|
||||||
|
$this->purgePackages($rm, $im);
|
||||||
|
|
||||||
if (!$disablePlugins) {
|
if (!$disablePlugins) {
|
||||||
$pm->loadInstalledPlugins();
|
$pm->loadInstalledPlugins();
|
||||||
}
|
}
|
||||||
|
|
||||||
// purge packages if they have been deleted on the filesystem
|
|
||||||
$this->purgePackages($rm, $im);
|
|
||||||
|
|
||||||
// init locker if possible
|
// init locker if possible
|
||||||
if (isset($composerFile)) {
|
if (isset($composerFile)) {
|
||||||
$lockFile = "json" === pathinfo($composerFile, PATHINFO_EXTENSION)
|
$lockFile = "json" === pathinfo($composerFile, PATHINFO_EXTENSION)
|
||||||
|
|
Loading…
Reference in New Issue