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:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user