From cd574194b0e4a5ad7b0667262abb57e007bf5151 Mon Sep 17 00:00:00 2001 From: Rohit Date: Thu, 13 Feb 2025 12:23:58 +0530 Subject: [PATCH] feat: console log cleanup --- .../workflow-management/classes/Generator.ts | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/server/src/workflow-management/classes/Generator.ts b/server/src/workflow-management/classes/Generator.ts index a5d92d4e..28b8b361 100644 --- a/server/src/workflow-management/classes/Generator.ts +++ b/server/src/workflow-management/classes/Generator.ts @@ -768,23 +768,6 @@ export class WorkflowGenerator { * @returns {Promise} */ public saveNewWorkflow = async (fileName: string, userId: number, isLogin: boolean) => { - for (const pair of this.workflowRecord.workflow) { - for (let i = 0; i < pair.what.length; i++) { - const condition = pair.what[i]; - - if (condition.action === 'press' && condition.args) { - const [selector, encryptedKey, type] = condition.args; - const key = decrypt(encryptedKey); - - console.log(`Selector: ${selector}, Key: ${key}`); - } - - if (condition.action === 'click' && condition.args) { - console.log("Click args: ", condition.args); - } - } - } - const recording = this.optimizeWorkflow(this.workflowRecord); try { this.recordingMeta = {