add trailing newline to output

This commit is contained in:
AJ ONeal 2020-10-01 21:52:59 -06:00
parent 94f22e1948
commit a2aa6b5411
1 changed files with 1 additions and 1 deletions

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