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

fix: bug removed, log is clean now

This commit is contained in:
Saad Jutt
2022-01-08 00:42:32 +05:00
parent 30528a1528
commit 43769e711d

View File

@@ -106,9 +106,7 @@ ${program}`
await delay(50)
}
const log =
((await fileExists(logPath)) ? await readFile(logPath) : '') +
session.crashed
const log = (await fileExists(logPath)) ? await readFile(logPath) : ''
const webout = (await fileExists(weboutPath))
? await readFile(weboutPath)
: ''