aboutsummaryrefslogtreecommitdiff
path: root/table_parser.go
diff options
context:
space:
mode:
Diffstat (limited to 'table_parser.go')
-rw-r--r--table_parser.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/table_parser.go b/table_parser.go
index 4f9c7f8..3a5f56e 100644
--- a/table_parser.go
+++ b/table_parser.go
@@ -79,6 +79,11 @@ func (pt *tableParser) toCells() {
tokenTrim = strings.TrimSpace(token)
l = len(tokenTrim)
for {
+ // We use if-condition with "continue" to break and continue
+ // the for-loop, so it is not possible to use switch-case
+ // here.
+ //
+ //nolint:gocritic
if c == '\n' {
if l > 0 {
cell.writeString(token)