Skip to content

Commit

Permalink
feat: enhance step variable coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
barinali committed Aug 22, 2023
1 parent b9352cc commit 52bc49d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/backend/src/helpers/compute-parameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import Step from '../models/step';
import ExecutionStep from '../models/execution-step';
import get from 'lodash.get';

// INFO: don't remove space in allowed character group!
const variableRegExp = /({{step\.[\da-zA-Z-]+(?:\.[\da-zA-Z-_ :]+)+}})/g;
const variableRegExp = /({{step\.[\da-zA-Z-]+(?:\.[^.}{]+)+}})/g;

export default function computeParameters(
parameters: Step['parameters'],
Expand Down

0 comments on commit 52bc49d

Please sign in to comment.