Skip to content

Commit 7dc7e10

Browse files
committed
chore: linter fixup
1 parent 4098baa commit 7dc7e10

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

converters.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func (c *converters) parseAlphaField(r string, max uint) string {
3737
if !validSizeUint(rem) {
3838
return ""
3939
} else {
40-
r += strings.Repeat(" ", int(rem)) //nolint:gosec
40+
r += strings.Repeat(" ", int(rem))
4141
}
4242
return r
4343
}
@@ -53,7 +53,7 @@ func (c *converters) numericStringField(s string, max uint) string {
5353
if !validSizeUint(rem) {
5454
return ""
5555
} else {
56-
s = strings.Repeat("0", int(rem)) + s //nolint:gosec
56+
s = strings.Repeat("0", int(rem)) + s
5757
}
5858
return s
5959
}
@@ -77,7 +77,7 @@ func (c *converters) formatAlphaField(s string, max uint, options FormatOptions)
7777
if !validSizeUint(rem) {
7878
return ""
7979
} else {
80-
s += strings.Repeat(" ", int(rem)) //nolint:gosec
80+
s += strings.Repeat(" ", int(rem))
8181
}
8282
}
8383
return s

0 commit comments

Comments
 (0)