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 27c864e commit c56bdc2Copy full SHA for c56bdc2
1 file changed
src/Traits/PrunesVendorDirectory.php
@@ -29,7 +29,7 @@ protected function pruneVendorDirectory()
29
30
// Remove custom php binary package directory
31
$binaryPackageDirectory = $this->binaryPackageDirectory();
32
- if (! empty($binaryPackageDirectory)) {
+ if (! empty($binaryPackageDirectory) && $filesystem->exists($this->buildPath($binaryPackageDirectory))) {
33
$filesystem->remove($this->buildPath($binaryPackageDirectory));
34
}
35
0 commit comments