Merge PR #3831: Move indent for json output to 2 spaces

This commit is contained in:
Jack Zampolin
2019-03-08 09:00:17 -08:00
committed by GitHub
parent e236607368
commit 6f74095ce2
+1 -1
View File
@@ -259,7 +259,7 @@ func (ctx CLIContext) PrintOutput(toPrint fmt.Stringer) (err error) {
case "json":
if ctx.Indent {
out, err = ctx.Codec.MarshalJSONIndent(toPrint, "", " ")
out, err = ctx.Codec.MarshalJSONIndent(toPrint, "", " ")
} else {
out, err = ctx.Codec.MarshalJSON(toPrint)
}