Skip to content

Commit

Permalink
Do not cache vendor dir - fix issue 41 (replace 42)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Apr 9, 2024
1 parent ca852e1 commit 63b2776
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Roundcube/Composer/ExtensionInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ public function getInstallPath(PackageInterface $package)
return parent::getInstallPath($package);
}

static $vendorDir;
if ($vendorDir === null) {
$vendorDir = $this->getVendorDir();
}
$vendorDir = $this->getVendorDir();

return sprintf('%s/%s', $vendorDir, $this->getPackageName($package));
}
Expand Down

0 comments on commit 63b2776

Please sign in to comment.