File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ protected function removeIgnoredFilesAndFolders(string $appPath): void
7474
7575 if (file_exists ($ fullPath )) {
7676 if (is_dir ($ fullPath )) {
77- $ this ->delete_directory ($ fullPath );
77+ $ this ->delete_directory_recursive ($ fullPath );
7878 } else {
7979 array_map ('unlink ' , glob ($ fullPath ));
8080 }
@@ -86,7 +86,7 @@ protected function removeIgnoredFilesAndFolders(string $appPath): void
8686 }
8787 }
8888
89- private function delete_directory ($ dir )
89+ private function delete_directory_recursive ($ dir )
9090 {
9191 if (! file_exists ($ dir )) {
9292 return true ;
@@ -101,7 +101,7 @@ private function delete_directory($dir)
101101 continue ;
102102 }
103103
104- if (! $ this ->delete_directory ($ dir .'/ ' .$ item )) {
104+ if (! $ this ->delete_directory_recursive ($ dir .'/ ' .$ item )) {
105105 return false ;
106106 }
107107 }
You can’t perform that action at this time.
0 commit comments