Skip to content

Commit

Permalink
fix(builtins): minor fix
Browse files Browse the repository at this point in the history
Signed-off-by: manushak <[email protected]>
  • Loading branch information
manushak committed Sep 17, 2024
1 parent fb719bd commit 4d82845
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/if-run/builtins/regex/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 4d82845

Please sign in to comment.