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
1 changed files with 1 additions and 1 deletions

View File

@ -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)