Skip to content

Commit

Permalink
Update BassetManager.php
Browse files Browse the repository at this point in the history
Modified the temporary folder delete logic to use File::deleteDirectory over File:delete as it was silently failing. This caused the temporary folders to remain taking up space.
  • Loading branch information
jhauserdev authored Aug 27, 2024
1 parent ffa775c commit c58e445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BassetManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ public function bassetArchive(string $asset, string $output): StatusEnum
}
}
// delete the whole temporary folder
File::delete($tempDir);
File::deleteDirectory($tempDir);

$this->cacheMap->addAsset($asset);

Expand Down

0 comments on commit c58e445

Please sign in to comment.