Update DiskMangerWorker.ts

fixing #137
This commit is contained in:
Patrik J. Braun 2020-02-13 09:46:44 +01:00 committed by GitHub
parent b8557ad9b0
commit bc5c8e3b58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ export class DiskMangerWorker {
} }
public static async excludeDir(name: string, relativeDirectoryName: string, absoluteDirectoryName: string) { 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) { Config.Server.Indexing.excludeFileList.length === 0) {
return false; return false;
} }