Skip to content

Commit

Permalink
Merge pull request #161 from auth0/show-all-kv-fields
Browse files Browse the repository at this point in the history
Display empty KV fields
  • Loading branch information
Widcket authored Mar 12, 2021
2 parents 30eb284 + 2bf07c9 commit a5ce24e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions internal/display/display.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,7 @@ func (r *Renderer) Result(data View) {
for _, pair := range v.KeyValues() {
k := pair[0]
v := pair[1]

// NOTE(cyx): We can either nuke it or annotate with `<none>`. For now we're choosing to nuke it.
if v != "" {
kvs = append(kvs, []string{k, v})
}
kvs = append(kvs, []string{k, v})
}
writeTable(r.ResultWriter, nil, kvs)
}
Expand Down

0 comments on commit a5ce24e

Please sign in to comment.