From a22d99fefba741aa0a6287ffbfec9cb8e669ca24 Mon Sep 17 00:00:00 2001 From: Sergey Ponomarev Date: Thu, 12 Nov 2020 19:29:54 +0200 Subject: [PATCH] file.go: remove duplicated trim The s var was already trimmed on line 67 --- config/file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/file.go b/config/file.go index 77f33e9..b8851e4 100644 --- a/config/file.go +++ b/config/file.go @@ -66,7 +66,7 @@ func Read() error { for _, s := range strings.Split(colStr, ",") { s = strings.TrimSpace(s) if s != "" { - colNames = append(colNames, strings.TrimSpace(s)) + colNames = append(colNames, s) } } SetColumns(colNames)