From a6c3596ca5ff4aeb05dfa54fb477bfccd97ecaec Mon Sep 17 00:00:00 2001 From: Paul Fouquet Date: Fri, 18 Oct 2024 15:32:30 +1300 Subject: [PATCH] fix: remove unused disabling comment --- templates/common/__test__/function.helper.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/templates/common/__test__/function.helper.ts b/templates/common/__test__/function.helper.ts index 26e07515..2b7b8216 100644 --- a/templates/common/__test__/function.helper.ts +++ b/templates/common/__test__/function.helper.ts @@ -50,8 +50,6 @@ export function runTestFunction(workflowPath: string, data: FunctionData[], requ data.forEach((d) => { script = script.replaceAll(d.toReplace, d.replaceWith); }); - // eslint-disable-next-line @typescript-eslint/no-implied-eval - if (requireModule !== undefined) { // eslint-disable-next-line @typescript-eslint/no-implied-eval new Function('require', script)(requireModule);