remove duplication

This commit is contained in:
Daylin Morgan 2025-01-20 12:29:21 -06:00
parent 927c1bbf6c
commit 80825e833f
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -62,19 +62,14 @@ proc formatStdoutStderr(stdout: string, stderr: string): string =
result.add "-> " result.add "-> "
result.add line result.add line
result.add "\n" result.add "\n"
result.add "stdout:\n" result.add "stdout:\n"
for line in stdout.splitLines(): for line in stdout.splitLines():
addLine addLine
# result.add bb"[red]->[/]"
# result.add "-> "
# result.add line
# result.add "\n"
result.add "stdout:\n" result.add "stdout:\n"
for line in stderr.splitLines(): for line in stderr.splitLines():
addLine addLine
result.add "-> "
result.add line
result.add "\n"