Skip to content

Commit

Permalink
chore: disable lint overflow warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoutsovasilis committed Dec 18, 2024
1 parent 489d1cc commit a3dba7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-tools/packaging/package_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ func readTarContents(tarName string, data io.Reader) (*packageFile, error) {
File: header.Name,
UID: header.Uid,
GID: header.Gid,
Mode: os.FileMode(header.Mode),
Mode: os.FileMode(header.Mode), //nolint:gosec // Reason: header.Mode should never overflow from int64 -> uint32
}
}

Expand Down

0 comments on commit a3dba7a

Please sign in to comment.