Skip to content

Fix vuln. source name dereference if source nil #1300

Fix vuln. source name dereference if source nil

Fix vuln. source name dereference if source nil #1300

Triggered via pull request November 7, 2024 15:31
@mrutkowsmrutkows
synchronize #110
typos
Status Failure
Total duration 22s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: log/log.go#L258
printf: non-constant format string in call to (*github.com/fatih/color.Color).Sprintf (govet)
lint: log/log.go#L291
printf: non-constant format string in call to (*github.com/fatih/color.Color).Sprintf (govet)
lint: cmd/resource.go#L350
printf: non-constant format string in call to fmt.Errorf (govet)
lint: cmd/schema.go#L337
printf: non-constant format string in call to fmt.Errorf (govet)
lint: cmd/vulnerability.go#L342
printf: non-constant format string in call to fmt.Errorf (govet)
lint: cmd/license_policy_test.go#L148
printf: non-constant format string in call to (*testing.common).Errorf (govet)
lint: cmd/license_policy_test.go#L156
printf: non-constant format string in call to (*testing.common).Errorf (govet)
lint: cmd/license_policy_test.go#L168
printf: non-constant format string in call to (*testing.common).Errorf (govet)
lint: cmd/patch.go#L622
SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
lint: cmd/query.go#L191
SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)