From 2ed3c709bdb26a42e0d9357cd59ee78779e500e5 Mon Sep 17 00:00:00 2001 From: Tim Morley Date: Thu, 5 Dec 2019 08:21:44 +0000 Subject: [PATCH] Removed debugging. --- backend/model/threading/DiskMangerWorker.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/backend/model/threading/DiskMangerWorker.ts b/backend/model/threading/DiskMangerWorker.ts index 9ee661bb..40682415 100644 --- a/backend/model/threading/DiskMangerWorker.ts +++ b/backend/model/threading/DiskMangerWorker.ts @@ -61,18 +61,8 @@ export class DiskMangerWorker { const absoluteName=path.normalize(path.join(absoluteDirectoryName,name)); const relativeName=path.normalize(path.join(relativeDirectoryName,name)); - - console.log("----- Starting exlude dir -----"); - console.log("name %s",name); - console.log("absoluteDirectoryName %s",absoluteDirectoryName); - console.log("absoluteName %s",absoluteName); - console.log("relativeDirectoryName %s",relativeDirectoryName); - console.log("relativeName %s",relativeName); - console.log("Config.Server.indexing.excludeFolderList %s",Config.Server.indexing.excludeFolderList); - for (let j = 0; j < Config.Server.indexing.excludeFolderList.length; j++) { const exclude=Config.Server.indexing.excludeFolderList[j]; - console.log("trying dir %s",exclude); if (exclude.startsWith('/')) { if (exclude==absoluteName) { @@ -91,7 +81,6 @@ export class DiskMangerWorker { for (let j = 0; j < Config.Server.indexing.excludeFileList.length; j++) { const exclude=Config.Server.indexing.excludeFileList[j]; - console.log("trying file %s",exclude); if (fs.existsSync(path.join(absoluteName,exclude))) { return true;