add trailing newline to output
This commit is contained in:
parent
94f22e1948
commit
a2aa6b5411
|
@ -81,5 +81,5 @@ func indentJSON(b []byte) []byte {
|
||||||
m := map[string]interface{}{}
|
m := map[string]interface{}{}
|
||||||
_ = json.Unmarshal(b, &m)
|
_ = json.Unmarshal(b, &m)
|
||||||
b, _ = json.MarshalIndent(&m, "", " ")
|
b, _ = json.MarshalIndent(&m, "", " ")
|
||||||
return b
|
return append(b, '\n')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue