This commit is contained in:
Philipinho
2025-12-02 13:14:03 +00:00
parent 2ea3c2da58
commit ab96672ecd
@@ -212,7 +212,10 @@ export class FileImportTaskService {
// For each folder with content, create a placeholder page if no corresponding .md or .html exists
foldersWithContent.forEach((folderPath) => {
if (folderPath.toLowerCase() === skipRootFolder.toLowerCase()) {
if (
skipRootFolder &&
folderPath?.toLowerCase() === skipRootFolder?.toLowerCase()
) {
return;
}