浏览代码

correct small bug, source files aren't installed and removed from the same path (problem with targetDir package attribute)

Pierre-yves Christmann 11 年之前
父节点
当前提交
79a4c5cac1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Composer/Installer/LibraryInstaller.php

+ 1 - 1
src/Composer/Installer/LibraryInstaller.php

@@ -178,7 +178,7 @@ class LibraryInstaller implements InstallerInterface
 
     protected function removeCode(PackageInterface $package)
     {
-        $downloadPath = $this->getPackageBasePath($package);
+        $downloadPath = $this->getInstallPath($package);
         $this->downloadManager->remove($package, $downloadPath);
     }