Skip to content

Commit

Permalink
BUGFIX: responseTemplate parsing issue
Browse files Browse the repository at this point in the history
matcher object passed to multiReplace lib func has issues
  • Loading branch information
ganeshsacharya committed May 6, 2024
1 parent abf303f commit f3a8da0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions base/executor.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,10 +266,10 @@ class executor {
const resultTemplate = compiled(RESP);

const matcherObj = {
'{{': '{',
'}}': '}',
'{[': '[',
']}': ']'
'"{{': '{',
'}}"': '}',
'"{[': '[',
']}"': ']'
}

const replacedString = multiReplace(resultTemplate, matcherObj);
Expand Down

0 comments on commit f3a8da0

Please sign in to comment.