OPCT-226: cmd/report UX enhancements #484
Annotations
10 errors and 1 warning
internal/report/baseline/aws.go#L59
func `bucketExists` is unused (unused)
|
internal/report/baseline/baseline.go#L49
field `indexPath` is unused (unused)
|
internal/report/baseline/baseline.go#L50
field `loadedBaseline` is unused (unused)
|
internal/report/baseline/baseline.go#L51
field `rawIndex` is unused (unused)
|
pkg/cmd/adm/baseline/publish.go#L23
field `archive` is unused (unused)
|
internal/report/baseline/baseline.go#L224
S1008: should use 'return os.Getenv("OPCT_ENABLE_ADM_BASELINE") != ""' instead of 'if os.Getenv("OPCT_ENABLE_ADM_BASELINE") == "" { return false }; return true' (gosimple)
|
pkg/cmd/adm/baseline/get.go#L54
ineffectual assignment to data (ineffassign)
|
internal/report/baseline/indexer.go#L199
SA4009: argument svc is overwritten before first use (staticcheck)
|
internal/report/baseline/indexer.go#L200
SA4009(related information): assignment to svc (staticcheck)
|
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading