Эх сурвалжийг харах

Apply updates in the NoopInstaller

Jordi Boggiano 12 жил өмнө
parent
commit
e1e7141ae9

+ 1 - 0
src/Composer/Installer/NoopInstaller.php

@@ -59,6 +59,7 @@ class NoopInstaller implements InstallerInterface
             throw new \InvalidArgumentException('Package is not installed: '.$initial);
         }
 
+        $repo->removePackage($initial);
         if (!$repo->hasPackage($target)) {
             $repo->addPackage(clone $target);
         }