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

Merge pull request #45 from sasjs/hot-fix

fix: bug removed, log is clean now
This commit is contained in:
Muhammad Saad
2022-01-08 01:11:04 +04:00
committed by GitHub

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)
: ''