Skip to content

Commit

Permalink
omit empty Spec on carapace --list=json
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Oct 3, 2022
1 parent df308e6 commit 30408d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/carapace/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func printCompletersJson() {
type _completer struct {
Name string
Description string
Spec string
Spec string `json:",omitempty"`
}

_completers := make([]_completer, 0)
Expand Down

0 comments on commit 30408d7

Please sign in to comment.