Skip to content

fix login with 2fa

fix login with 2fa #43

Triggered via pull request January 8, 2025 15:10
Status Failure
Total duration 3m 9s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: pkg/http/result.go#L25
return statements should not be cuddled if block has more than two lines (wsl)
Lint: pkg/appstore/appstore_login.go#L66
declarations should never be cuddled (wsl)
Lint: pkg/appstore/appstore_login.go#L67
assignments should only be cuddled with other assignments (wsl)
Lint: pkg/appstore/appstore_login.go#L68
declarations should never be cuddled (wsl)
Lint: pkg/appstore/appstore_login.go#L74
only one cuddle assignment allowed before if statement (wsl)
Lint: pkg/appstore/appstore_login.go#L135
return statements should not be cuddled if block has more than two lines (wsl)
Lint: pkg/appstore/appstore_login.go#L72
ineffectual assignment to redirect (ineffassign)
Lint: pkg/http/client.go#L60
return with no blank line before (nlreturn)
Lint: pkg/appstore/appstore_login.go#L115
named return "retry" with type "bool" found (nonamedreturns)
Lint: pkg/appstore/appstore_login.go#L116
"302" can be replaced by http.StatusFound (usestdlibvars)