We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1d51d3 commit e6dfa24Copy full SHA for e6dfa24
cmd/soci/commands/index/info.go
@@ -77,7 +77,7 @@ var infoCommand = cli.Command{
77
78
func prettyPrintJSON(b []byte) error {
79
var prettyJSON bytes.Buffer
80
- if err := json.Indent(&prettyJSON, []byte(b), "", " "); err != nil {
+ if err := json.Indent(&prettyJSON, b, "", " "); err != nil {
81
return err
82
}
83
_, err := os.Stdout.Write(prettyJSON.Bytes())
0 commit comments