Skip to content

Commit

Permalink
Update to 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
denysdesign committed Oct 28, 2023
1 parent e67434a commit 7afac8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function preflight()

foreach($folders as $folder)
{
if(Folder::exists($folder))
if(file_exists($folder) && is_dir($folder))
{
Folder::delete($folder);
}
Expand Down

0 comments on commit 7afac8d

Please sign in to comment.