From 5fdd8a200cc40f369b07bad471b7907432d86885 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Tue, 6 Jun 2023 00:27:42 +0200 Subject: [PATCH] - --- libs/cmdio/render.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libs/cmdio/render.go b/libs/cmdio/render.go index c5abe2cbe..8aff2b8d2 100644 --- a/libs/cmdio/render.go +++ b/libs/cmdio/render.go @@ -49,10 +49,6 @@ func renderJson(w io.Writer, v any) error { return err } _, err = w.Write(pretty) - if err != nil { - return err - } - _, err = w.Write([]byte("\n")) return err }