We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5acb649 commit 1aaa179Copy full SHA for 1aaa179
cli/command/formatter/formatter.go
@@ -19,7 +19,7 @@ const (
19
JSONFormatKey = "json"
20
21
DefaultQuietFormat = "{{.ID}}"
22
- jsonFormat = "{{json .}}"
+ JSONFormat = "{{json .}}"
23
)
24
25
// Format is the format string rendered using the Context
@@ -62,7 +62,7 @@ func (c *Context) preFormat() {
62
case c.Format.IsTable():
63
c.finalFormat = c.finalFormat[len(TableFormatKey):]
64
case c.Format.IsJSON():
65
- c.finalFormat = jsonFormat
+ c.finalFormat = JSONFormat
66
}
67
68
c.finalFormat = strings.Trim(c.finalFormat, " ")
0 commit comments