Skip to content

Commit

Permalink
ignore false positive semgrep
Browse files Browse the repository at this point in the history
  • Loading branch information
Ventilateur committed Feb 26, 2025
1 parent fe4fc93 commit 0050bae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adapters/mobkoi/mobkoi.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ func (a *adapter) MakeBids(request *openrtb2.BidRequest, requestData *adapters.R
bid.NURL = replaceMacros(bid.NURL, macros)
bid.LURL = replaceMacros(bid.LURL, macros)

// nosemgrep:type-bid-assignment-check
// Ignore semgrep rule as this is no longer valid for Go 1.22+
bidResponse.Bids = append(bidResponse.Bids, &adapters.TypedBid{
Bid: &bid,
BidType: openrtb_ext.BidTypeBanner,
Expand Down

0 comments on commit 0050bae

Please sign in to comment.