From c58e44524a96ca41f18a1d3a74e4dc9066fe1a30 Mon Sep 17 00:00:00 2001 From: Joe Hauser <58231895+jhauserdev@users.noreply.github.com> Date: Tue, 27 Aug 2024 12:19:57 -0400 Subject: [PATCH] Update BassetManager.php 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. --- src/BassetManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BassetManager.php b/src/BassetManager.php index e93ae12..904d95d 100644 --- a/src/BassetManager.php +++ b/src/BassetManager.php @@ -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);