We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 08fd69a + 2acd640 commit 707c608Copy full SHA for 707c608
src/SourceRepositoryTypes/GithubRepositoryType.php
@@ -148,7 +148,9 @@ public function update($version = '') : bool
148
149
// Now move all the files left in the main directory
150
collect(File::allFiles($sourcePath, true))->each(function ($file) { /* @var \SplFileInfo $file */
151
- File::copy($file->getRealPath(), base_path($file->getFilename()));
+ if ($file->getRealPath()) {
152
+ File::copy($file->getRealPath(), base_path($file->getFilename()));
153
+ }
154
});
155
156
File::deleteDirectory($sourcePath);
0 commit comments