updates
This commit is contained in:
@@ -42,6 +42,9 @@ class StaticGenerator
|
||||
}
|
||||
|
||||
if(!file_exists(public_path($directory."/index.html"))){
|
||||
if(file_exists(public_path($directory))){
|
||||
rmdir(public_path($directory));
|
||||
}
|
||||
continue;
|
||||
}
|
||||
unlink(public_path($directory."/index.html"));
|
||||
|
||||
Reference in New Issue
Block a user