file.go: remove duplicated trim

The s var was already trimmed on line 67
This commit is contained in:
Sergey Ponomarev
2020-11-12 19:29:54 +02:00
parent c971d26d42
commit a22d99fefb

View File

@@ -66,7 +66,7 @@ func Read() error {
for _, s := range strings.Split(colStr, ",") { for _, s := range strings.Split(colStr, ",") {
s = strings.TrimSpace(s) s = strings.TrimSpace(s)
if s != "" { if s != "" {
colNames = append(colNames, strings.TrimSpace(s)) colNames = append(colNames, s)
} }
} }
SetColumns(colNames) SetColumns(colNames)