From 9d5a5e051fd821295664ddb3a1fd64629894a44c Mon Sep 17 00:00:00 2001 From: Sabir Hassan Date: Tue, 7 Jun 2022 13:27:18 +0500 Subject: [PATCH] fix: no need to stringify _webout in preProgramVarStatements, developer should have _webout as string in actual code --- api/src/controllers/internal/Execution.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/controllers/internal/Execution.ts b/api/src/controllers/internal/Execution.ts index 29210af..1df3703 100644 --- a/api/src/controllers/internal/Execution.ts +++ b/api/src/controllers/internal/Execution.ts @@ -293,7 +293,7 @@ ${preProgramVarStatments} ${program} /* write webout file*/ -fs.promises.writeFile(weboutPath, JSON.stringify(webout)) +fs.promises.writeFile(weboutPath, _webout) ` // todo: modify this commented block for js runtime