Fix broken 'for' loops in FindElements methods. #3
Annotations
10 errors and 4 warnings
element.go#L77
File is not `gofmt`-ed with `-s` (gofmt)
|
session.go#L303
File is not `gofmt`-ed with `-s` (gofmt)
|
shadowroot.go#L48
File is not `gofmt`-ed with `-s` (gofmt)
|
bidi/websocket.go#L8
import 'nhooyr.io/websocket' is not allowed from list 'Main' (depguard)
|
session.go#L9
import 'github.com/hupe1980/gowebdriver/bidi' is not allowed from list 'Main' (depguard)
|
webdriver.go#L9
import 'github.com/hupe1980/gowebdriver/bidi' is not allowed from list 'Main' (depguard)
|
capabilities_test.go#L6
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
|
bidi/log.go#L73
return statements should not be cuddled if block has more than two lines (wsl)
|
bidi/log.go#L81
return statements should not be cuddled if block has more than two lines (wsl)
|
bidi/log.go#L89
return statements should not be cuddled if block has more than two lines (wsl)
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
|
bidi/client.go#L176
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
|
|
The logs for this run have expired and are no longer available.
Loading