1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-11 03:34:35 +00:00

fix(log-separator): log separator should always wrap log

This commit is contained in:
Yury Shkoda
2023-07-24 18:27:21 +03:00
parent 48c1ada1b6
commit 8940f4dc47

View File

@@ -130,6 +130,7 @@ export class ExecutionController {
resultParts.push(process.logsUUID) resultParts.push(process.logsUUID)
resultParts.push(log) resultParts.push(log)
resultParts.push(process.logsUUID)
if (includePrintOutput && runTime === RunTimeType.SAS) { if (includePrintOutput && runTime === RunTimeType.SAS) {
const printOutputPath = path.join(session.path, 'output.lst') const printOutputPath = path.join(session.path, 'output.lst')
@@ -137,10 +138,7 @@ export class ExecutionController {
? await readFile(printOutputPath) ? await readFile(printOutputPath)
: '' : ''
if (printOutput) { if (printOutput) resultParts.push(printOutput)
resultParts.push(process.logsUUID)
resultParts.push(printOutput)
}
} }
return { return {