Skip to content

Fix vuln. source name dereference if source nil #1298

Fix vuln. source name dereference if source nil

Fix vuln. source name dereference if source nil #1298

Triggered via pull request November 7, 2024 15:13
Status Failure
Total duration 39s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: cmd/component.go#L398
printf: non-constant format string in call to fmt.Errorf (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/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: 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/component.go#L446
SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
lint: cmd/license_policy.go#L265
SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)