Closed heaths closed 1 year ago
https://github.com/cli/go-gh/blob/09213117cf60973e9d69fb5201b2643e5f1ec11b/pkg/jsonpretty/format.go#L55
Seems if indent == "" when passed to jsonpretty.Format, output should not be formatted at all i.e., delimiters - []{}, - should not have a newline appended.
indent == ""
jsonpretty.Format
[]{},
https://github.com/cli/go-gh/blob/09213117cf60973e9d69fb5201b2643e5f1ec11b/pkg/jsonpretty/format.go#L55
Seems if
indent == ""
when passed tojsonpretty.Format
, output should not be formatted at all i.e., delimiters -[]{},
- should not have a newline appended.