File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ private function moveFiles(string $folder): void
86
86
collect ($ files )->each (function (SplFileInfo $ file ) {
87
87
if ($ file ->getRealPath ()) {
88
88
File::copy (
89
- $ file ->getRealPath (), Str::finish ($ this ->basePath , DIRECTORY_SEPARATOR ) . $ file ->getFilename ()
89
+ $ file ->getRealPath (), Str::finish ($ this ->basePath , DIRECTORY_SEPARATOR ). $ file ->getFilename ()
90
90
);
91
91
}
92
92
});
@@ -101,11 +101,10 @@ private function moveFolders(string $folder): void
101
101
}));
102
102
103
103
$ sorted ->each (function (SplFileInfo $ directory ) {
104
-
105
104
if (! dirsIntersect (File::directories ($ directory ->getRealPath ()), config ('self-update.exclude_folders ' ))) {
106
105
File::copyDirectory (
107
106
$ directory ->getRealPath (),
108
- Str::finish ($ this ->basePath , DIRECTORY_SEPARATOR ) . Str::finish ($ directory ->getRelativePath (), DIRECTORY_SEPARATOR ) . $ directory ->getBasename ()
107
+ Str::finish ($ this ->basePath , DIRECTORY_SEPARATOR ). Str::finish ($ directory ->getRelativePath (), DIRECTORY_SEPARATOR ). $ directory ->getBasename ()
109
108
);
110
109
}
111
110
You can’t perform that action at this time.
0 commit comments