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 09e9a2c commit be5c791Copy full SHA for be5c791
src/Builder/Concerns/PrunesVendorDirectory.php
@@ -26,9 +26,8 @@ public function pruneVendorDirectory()
26
27
// Remove custom php binary package directory
28
$binaryPackageDirectory = $this->binaryPackageDirectory();
29
- if (! empty($binaryPackageDirectory) && $filesystem->exists($this->buildPath($binaryPackageDirectory))) {
30
- $binariesInBuildPath = $this->buildPath("app/{$binaryPackageDirectory}");
31
- $filesystem->remove($binariesInBuildPath);
+ if (! empty($binaryPackageDirectory) && $filesystem->exists($this->buildPath("app/{$binaryPackageDirectory}"))) {
+ $filesystem->remove($this->buildPath("app/{$binaryPackageDirectory}"));
32
}
33
34
0 commit comments