2
0
mirror of https://github.com/therootcompany/keypairs synced 2025-03-09 18:10:37 +00:00

add trailing newline to output

This commit is contained in:
AJ ONeal 2020-10-01 21:52:59 -06:00
parent 94f22e1948
commit a2aa6b5411

View File

@ -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')
}