소스 검색

Apply updates in the NoopInstaller

Jordi Boggiano 12 년 전
부모
커밋
e1e7141ae9
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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);
         }