From 4d828453f6ee880ddc14f22370f9b53e907e10ea Mon Sep 17 00:00:00 2001 From: manushak Date: Tue, 17 Sep 2024 10:53:53 +0400 Subject: [PATCH] fix(builtins): minor fix Signed-off-by: manushak --- src/if-run/builtins/regex/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/if-run/builtins/regex/index.ts b/src/if-run/builtins/regex/index.ts index 5e65e677..171f4a8a 100644 --- a/src/if-run/builtins/regex/index.ts +++ b/src/if-run/builtins/regex/index.ts @@ -64,8 +64,8 @@ export const Regex = ( * Executes the regex of the given parameter. */ const execute = (inputs: PluginParams[]) => { - const safeGlobalConfig = validateConfig(); - const {parameter: parameter, match, output} = safeGlobalConfig; + const safeConfig = validateConfig(); + const {parameter: parameter, match, output} = safeConfig; return inputs.map(input => { const safeInput = Object.assign(