From beb01a470cfb484874f8eb41dfd4818384461b8a Mon Sep 17 00:00:00 2001 From: Hossein Mehrabi Date: Thu, 17 Aug 2023 17:16:27 +0330 Subject: [PATCH] refactor: remove temporary console.logs --- src/services/unbody/unbody.helpers.ts | 3 --- src/services/unbody/unbody.service.ts | 1 - 2 files changed, 4 deletions(-) diff --git a/src/services/unbody/unbody.helpers.ts b/src/services/unbody/unbody.helpers.ts index 48fc353..78b1520 100644 --- a/src/services/unbody/unbody.helpers.ts +++ b/src/services/unbody/unbody.helpers.ts @@ -30,9 +30,6 @@ export class UnbodyHelpers { const exclude: string[] = [] for (const p of input) { - if (p.includes('|')) { - console.log(p.split('|')) - } if (p.startsWith('!')) exclude.push(p.slice(1)) else if (p.includes('|')) or.push(...p.split('|').filter((s) => s.length > 0)) diff --git a/src/services/unbody/unbody.service.ts b/src/services/unbody/unbody.service.ts index e0e4acc..662159e 100644 --- a/src/services/unbody/unbody.service.ts +++ b/src/services/unbody/unbody.service.ts @@ -292,7 +292,6 @@ export class UnbodyService { }, }, }) - console.log(docs.length) return unbodyDataTypes.transformMany( articleDocument,