From bc5c8e3b5865c22ec34338b52c0df352440c0680 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Thu, 13 Feb 2020 09:46:44 +0100 Subject: [PATCH] Update DiskMangerWorker.ts fixing #137 --- src/backend/model/threading/DiskMangerWorker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/model/threading/DiskMangerWorker.ts b/src/backend/model/threading/DiskMangerWorker.ts index 06a946fb..fb9359eb 100644 --- a/src/backend/model/threading/DiskMangerWorker.ts +++ b/src/backend/model/threading/DiskMangerWorker.ts @@ -41,7 +41,7 @@ export class DiskMangerWorker { } public static async excludeDir(name: string, relativeDirectoryName: string, absoluteDirectoryName: string) { - if (Config.Server.Indexing.excludeFolderList.length === 0 || + if (Config.Server.Indexing.excludeFolderList.length === 0 && Config.Server.Indexing.excludeFileList.length === 0) { return false; }