Skip to content

Commit

Permalink
Merge PR cosmos#3831: Move indent for json output to 2 spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
jackzampolin authored Mar 8, 2019
1 parent e236607 commit 6f74095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/context/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 6f74095

Please sign in to comment.