From f3a8da0f08b484d0081ff2d3387b9428604c8dd5 Mon Sep 17 00:00:00 2001 From: Ganesh S Acharya Date: Mon, 6 May 2024 15:47:06 +0530 Subject: [PATCH] BUGFIX: responseTemplate parsing issue matcher object passed to multiReplace lib func has issues --- base/executor.class.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/base/executor.class.js b/base/executor.class.js index 02959b2..fb7909c 100755 --- a/base/executor.class.js +++ b/base/executor.class.js @@ -266,10 +266,10 @@ class executor { const resultTemplate = compiled(RESP); const matcherObj = { - '{{': '{', - '}}': '}', - '{[': '[', - ']}': ']' + '"{{': '{', + '}}"': '}', + '"{[': '[', + ']}"': ']' } const replacedString = multiReplace(resultTemplate, matcherObj);