You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
====================================================================================================
append to slice `marshalled` with non-zero initialized length at https://github.com/ledgerwatch/erigon/blob/main/core/blockchain.go#L23[9](https://github.com/alingse/go-linter-runner/actions/runs/9242977316/job/25426502162#step:4:10):16
append to slice `files` with non-zero initialized length at https://github.com/ledgerwatch/erigon/blob/main/diagnostics/logs.go#L76:[11](https://github.com/alingse/go-linter-runner/actions/runs/9242977316/job/25426502162#step:4:12)
append to slice `files` with non-zero initialized length at https://github.com/ledgerwatch/erigon/blob/main/cmd/snapshots/manifest/manifest.go#L292:12
append to slice `files` with non-zero initialized length at https://github.com/ledgerwatch/erigon/blob/main/cmd/snapshots/manifest/manifest.go#L302:[12](https://github.com/alingse/go-linter-runner/actions/runs/9242977316/job/25426502162#step:4:13)
====================================================================================================
the marshalled := make([]map[string]interface{}, len(receipts)) should be marshalled := make([]map[string]interface{}, 0, len(receipts))
and the files := make([]file, len(infos)) should be files := make([]file, 0, len(infos))
The text was updated successfully, but these errors were encountered:
I was running github actions to run linter makezero for top github golang repos.
see issues alingse/go-linter-runner#1
and the github actions output https://github.com/alingse/go-linter-runner/actions/runs/9242977316/job/25426502162
the
marshalled := make([]map[string]interface{}, len(receipts))
should bemarshalled := make([]map[string]interface{}, 0, len(receipts))
and the
files := make([]file, len(infos))
should befiles := make([]file, 0, len(infos))
The text was updated successfully, but these errors were encountered: