Fix vuln. source name dereference if source nil #1298
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)
|