fix: lint
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
kolaente 2023-01-24 14:21:49 +01:00
parent 37240caad4
commit 14d8e2d586
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 2 deletions

View File

@ -185,10 +185,10 @@ func (m *Migrator) Name() string {
return "ticktick"
}
func newLineSkipDecoder(r io.Reader, LinesToSkip int) (gocsv.SimpleDecoder, error) {
func newLineSkipDecoder(r io.Reader, linesToSkip int) (gocsv.SimpleDecoder, error) {
reader := csv.NewReader(r)
// reader.FieldsPerRecord = -1
for i := 0; i < LinesToSkip; i++ {
for i := 0; i < linesToSkip; i++ {
_, err := reader.Read()
if err != nil {
if errors.Is(err, io.EOF) {