We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc59a0b commit 0e9ad2fCopy full SHA for 0e9ad2f
src/PatternLab/InstallerUtil.php
@@ -532,7 +532,9 @@ public static function prePackageUninstallCmd($event) {
532
$package = $event->getOperation()->getPackage();
533
$type = $package->getType();
534
$name = $package->getName();
535
- $pathBase = $package->getTargetDir();
+ $pathBase = $event->getComposer()->getInstallationManager()->getInstallPath($package);
536
+
537
+ print "pathBase: ".$pathBase;
538
539
// see if the package has a listener and remove it
540
self::scanForListener($pathBase,true);
0 commit comments