Skip to content

Commit

Permalink
Merge pull request #137 from jhauserdev/fix-temporary-directory-delete
Browse files Browse the repository at this point in the history
Update BassetManager.php temporary folder delete logic
  • Loading branch information
pxpm authored Aug 28, 2024
2 parents ffa775c + c58e445 commit 2c20d23
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 2c20d23

Please sign in to comment.