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.
1 parent ffdc2dc commit 4e2d4f3Copy full SHA for 4e2d4f3
src/SPC/builder/unix/library/ncurses.php
@@ -38,7 +38,7 @@ protected function build(): void
38
->make();
39
$final = FileSystem::scanDirFiles(BUILD_BIN_PATH, relative: true);
40
// Remove the new files
41
- $new_files = array_diff($final, $filelist);
+ $new_files = array_diff($final, $filelist ?: []);
42
foreach ($new_files as $file) {
43
@unlink(BUILD_BIN_PATH . '/' . $file);
44
}
0 commit comments