From 80825e833f3562b9de00f488343b9074fff79d0c Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 20 Jan 2025 12:29:21 -0600 Subject: [PATCH] remove duplication --- pkgs/oizys/src/oizys/exec.nim | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkgs/oizys/src/oizys/exec.nim b/pkgs/oizys/src/oizys/exec.nim index b7bbb1d..3c6fe96 100644 --- a/pkgs/oizys/src/oizys/exec.nim +++ b/pkgs/oizys/src/oizys/exec.nim @@ -62,19 +62,14 @@ proc formatStdoutStderr(stdout: string, stderr: string): string = result.add "-> " result.add line result.add "\n" + result.add "stdout:\n" for line in stdout.splitLines(): addLine - # result.add bb"[red]->[/]" - # result.add "-> " - # result.add line - # result.add "\n" + result.add "stdout:\n" for line in stderr.splitLines(): addLine - result.add "-> " - result.add line - result.add "\n"