1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-04 21:30:05 +00:00

fix(execute): fixed adding print output

This commit is contained in:
Yury Shkoda
2023-05-02 15:49:44 +03:00
parent e78f87f5c0
commit 9aaffce820
3 changed files with 9 additions and 12 deletions

View File

@@ -74,8 +74,7 @@ const execute = async (
req: express.Request,
_program: string,
vars: ExecutionVars,
otherArgs?: any,
isStp?: boolean
otherArgs?: any
): Promise<string | Buffer> => {
try {
const { codePath, runTime } = await getRunTimeAndFilePath(_program)
@@ -87,8 +86,7 @@ const execute = async (
preProgramVariables: getPreProgramVariables(req),
vars,
otherArgs,
session: req.sasjsSession,
isStp
session: req.sasjsSession
}
)