initial commit #1
Annotations
10 errors
|
Lint:
internal/app/apply_test.go#L42
SA5011(related information): this check suggests that the pointer can be nil (staticcheck)
|
|
Lint:
internal/app/apply_test.go#L50
SA5011: possible nil pointer dereference (staticcheck)
|
|
Lint:
internal/template/funcs.go#L16
SA1019: strings.Title has been deprecated since Go 1.18 and an alternative has been available since Go 1.0: The rule Title uses for word boundaries does not handle Unicode punctuation properly. Use golang.org/x/text/cases instead. (staticcheck)
|
|
Lint:
internal/executor/config_task.go#L206
S1034(related information): could eliminate this type assertion (gosimple)
|
|
Lint:
internal/executor/config_task.go#L199
S1034: assigning the result of this type assertion to a variable (switch value := value.(type)) could eliminate type assertions in switch cases (gosimple)
|
|
Lint:
internal/app/status_test.go#L318
func `contains` is unused (unused)
|
|
Lint:
internal/app/status_test.go#L288
Error return value of `os.Symlink` is not checked (errcheck)
|
|
Lint:
internal/app/status_test.go#L284
Error return value of `os.WriteFile` is not checked (errcheck)
|
|
Lint:
internal/app/status_test.go#L282
Error return value of `os.MkdirAll` is not checked (errcheck)
|
|
Lint:
internal/app/status_test.go#L278
Error return value of `os.MkdirAll` is not checked (errcheck)
|