Skip to content

Commit

Permalink
Disable G115 check. securego/gosec#1212
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Yakunin committed Sep 18, 2024
1 parent a43e63d commit 7e97150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/processor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (p *Processor) Resize(data []byte, width, height int) ([]byte, error) {
}

// Resize image.
resizedImage := resize.Resize(uint(width), uint(height), img, resize.Lanczos3)
resizedImage := resize.Resize(uint(width), uint(height), img, resize.Lanczos3) //nolint:gosec // disable G115

// Convert image to bytes.
data, err = imageToBytes(resizedImage)
Expand Down

0 comments on commit 7e97150

Please sign in to comment.