Skip to content

Commit 0f4e0da

Browse files
chore: saperated the nolint:gosec comment
1 parent 1876fb5 commit 0f4e0da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/typeutils/reformat.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,8 @@ func ReformatInt64(v any) (int64, error) {
321321
if err != nil {
322322
return int64(0), fmt.Errorf("failed to change []byte %v to int64: %v", v, err)
323323
}
324-
return int64(uintValue), nil //nolint:gosec // G115: possible overflow ignored intentionally to preserve legacy behavior
324+
//nolint:gosec // G115: possible overflow ignored intentionally to preserve legacy behavior
325+
return int64(uintValue), nil
325326
case bool:
326327
if v {
327328
return 1, nil

0 commit comments

Comments
 (0)