Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

Commit

Permalink
Add skip gocognit
Browse files Browse the repository at this point in the history
To fix the linter issue
  • Loading branch information
ankur22 committed Jan 31, 2024
1 parent 0cddf7c commit 43acc02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/screenshotter.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ func (s *screenshotter) screenshotElement(h *ElementHandle, opts *ElementHandleS
return buf, nil
}

//nolint:funlen,cyclop
//nolint:funlen,cyclop,gocognit
func (s *screenshotter) screenshotPage(p *Page, opts *PageScreenshotOptions) ([]byte, error) {
format := opts.Format

Expand Down

0 comments on commit 43acc02

Please sign in to comment.