fix
This commit is contained in:
parent
2ea3c2da58
commit
ab96672ecd
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue