From 79a4c5cac10b0f96913c99513de12376860a86fe Mon Sep 17 00:00:00 2001 From: Pierre-yves Christmann Date: Mon, 27 Jan 2014 05:04:27 +0100 Subject: [PATCH] correct small bug, source files aren't installed and removed from the same path (problem with targetDir package attribute) --- src/Composer/Installer/LibraryInstaller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Installer/LibraryInstaller.php b/src/Composer/Installer/LibraryInstaller.php index b1677cec2..39dcd860e 100644 --- a/src/Composer/Installer/LibraryInstaller.php +++ b/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); }