Skip to content

Commit b510356

Browse files
committed
Fixes linting
1 parent 58a059a commit b510356

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/gitdiff/csv.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ func createCsvDiff(diffFile *DiffFile, baseReader *csv.Reader, headReader *csv.R
210210
} else if cellsIndex < b2a[i] {
211211
cellsIndex = b2a[i]
212212
}
213-
cellsIndex += 1
213+
cellsIndex++
214214
}
215215

216216
return &TableDiffRow{RowIdx: bline, Cells: cells}, nil
@@ -311,7 +311,7 @@ func tryMapColumnsByContent(a *csvReader, a2b []int, b *csvReader, b2a []int) {
311311
b2a[bStart] = i
312312
}
313313
}
314-
bStart += 1
314+
bStart++
315315
}
316316
}
317317
}

0 commit comments

Comments
 (0)