mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-04 22:43:12 +00:00
add new line to stdout/stderr logs when logging lines
This commit is contained in:
parent
05fae04db6
commit
98f3ff76e0
@ -469,7 +469,7 @@ proc captureOutput(
|
||||
while (let line = await stream.readLine(0, "\n"); line != ""):
|
||||
try:
|
||||
output.add line
|
||||
filePath.appendFile(line.stripAnsi)
|
||||
filePath.appendFile(line & "\n".stripAnsi)
|
||||
await sleepAsync(1.nanos)
|
||||
except IOError as e:
|
||||
warn "Failed to write test stdout and/or stderr to file", error = e.msg
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user