Skip to content

Commit

Permalink
chore: address linter warnings
Browse files Browse the repository at this point in the history
suppress new integer overflow warning where no overflow occurs
  • Loading branch information
Dylan Bourque committed Sep 16, 2024
1 parent ccbe906 commit c1bfb54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/store/pg.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ func (p *PostgresClient) QueryModuleVersions(ctx context.Context, query ModuleVe
q = q.Offset(uint64(offset))
}
if query.Count > 0 {
q = q.Limit(uint64(query.Count))
q = q.Limit(uint64(query.Count)) //nolint: gosec // no overflow occurs
}

var (
Expand Down

0 comments on commit c1bfb54

Please sign in to comment.