From 2bf07c97add35858493300ae9e82c30c4f14bb92 Mon Sep 17 00:00:00 2001 From: Rita Zerrizuela Date: Fri, 12 Mar 2021 20:13:17 -0300 Subject: [PATCH] Display empty KV fields --- internal/display/display.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/internal/display/display.go b/internal/display/display.go index b89beb07e..b19c436ab 100644 --- a/internal/display/display.go +++ b/internal/display/display.go @@ -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 ``. 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) }