Selaa lähdekoodia

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

This reverts commit 79a4c5cac10b0f96913c99513de12376860a86fe.
Nils Adermann 11 vuotta sitten
vanhempi
commit
54b8831131
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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->getInstallPath($package);
+        $downloadPath = $this->getPackageBasePath($package);
         $this->downloadManager->remove($package, $downloadPath);
     }