From 4546259d9876d7dc2c56098ffd1c97783cf1ff31 Mon Sep 17 00:00:00 2001 From: Puskar Basu Date: Mon, 1 Jul 2024 10:18:08 +0530 Subject: [PATCH] Revert null values to return --- templates/main.go.tmpl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/templates/main.go.tmpl b/templates/main.go.tmpl index 5f127ca..3a92de9 100644 --- a/templates/main.go.tmpl +++ b/templates/main.go.tmpl @@ -274,11 +274,7 @@ func displayCSVRow(displayRow *proto.ExecuteResponse, columns []string) { return false }) } - if val == nil { - res[columnName] = "" - } else { - res[columnName] = fmt.Sprintf("%v", val) - } + res[columnName] = fmt.Sprintf("%v", val) } // Prepare CSV writer