From a2aa6b5411bd09fc69a425d82403b9da380f1431 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 1 Oct 2020 21:52:59 -0600 Subject: [PATCH] add trailing newline to output --- cmd/keypairs/keypairs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/keypairs/keypairs.go b/cmd/keypairs/keypairs.go index 56a3936..1201f79 100644 --- a/cmd/keypairs/keypairs.go +++ b/cmd/keypairs/keypairs.go @@ -81,5 +81,5 @@ func indentJSON(b []byte) []byte { m := map[string]interface{}{} _ = json.Unmarshal(b, &m) b, _ = json.MarshalIndent(&m, "", " ") - return b + return append(b, '\n') }