Skip to content

Commit cd57419

Browse files
committed
feat: console log cleanup
1 parent 5207d7d commit cd57419

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

server/src/workflow-management/classes/Generator.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -768,23 +768,6 @@ export class WorkflowGenerator {
768768
* @returns {Promise<void>}
769769
*/
770770
public saveNewWorkflow = async (fileName: string, userId: number, isLogin: boolean) => {
771-
for (const pair of this.workflowRecord.workflow) {
772-
for (let i = 0; i < pair.what.length; i++) {
773-
const condition = pair.what[i];
774-
775-
if (condition.action === 'press' && condition.args) {
776-
const [selector, encryptedKey, type] = condition.args;
777-
const key = decrypt(encryptedKey);
778-
779-
console.log(`Selector: ${selector}, Key: ${key}`);
780-
}
781-
782-
if (condition.action === 'click' && condition.args) {
783-
console.log("Click args: ", condition.args);
784-
}
785-
}
786-
}
787-
788771
const recording = this.optimizeWorkflow(this.workflowRecord);
789772
try {
790773
this.recordingMeta = {

0 commit comments

Comments
 (0)