Apply updates in the NoopInstaller
parent
1760b1e093
commit
e1e7141ae9
|
@ -59,6 +59,7 @@ class NoopInstaller implements InstallerInterface
|
||||||
throw new \InvalidArgumentException('Package is not installed: '.$initial);
|
throw new \InvalidArgumentException('Package is not installed: '.$initial);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$repo->removePackage($initial);
|
||||||
if (!$repo->hasPackage($target)) {
|
if (!$repo->hasPackage($target)) {
|
||||||
$repo->addPackage(clone $target);
|
$repo->addPackage(clone $target);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue