Ver Fonte

Apply updates in the NoopInstaller

Jordi Boggiano há 12 anos atrás
pai
commit
e1e7141ae9
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      src/Composer/Installer/NoopInstaller.php

+ 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);
         }