mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-01-22 07:07:32 -06:00
remove duplication
This commit is contained in:
parent
927c1bbf6c
commit
80825e833f
1 changed files with 2 additions and 7 deletions
|
@ -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"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue