Skip to content

use switch case instead of if #1015

use switch case instead of if

use switch case instead of if #1015

Triggered via push May 22, 2025 13:17
Status Failure
Total duration 30s
Artifacts

lint.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors
lint
issues found
lint: pkg/github/notifications_test.go#L516
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: pkg/github/notifications_test.go#L387
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: pkg/github/notifications_test.go#L253
ifElseChain: rewrite if-else to switch statement (gocritic)