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 `result` with non-zero initialized length at https://github.com/nakabonne/ali/blob/master/main.go#L300:12
====================================================================================================
the result := make([]time.Duration, len(stringBuckets)) should be result := make([]time.Duration, 0, len(stringBuckets))
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/9242973634/job/25426493494
the
result := make([]time.Duration, len(stringBuckets))
should beresult := make([]time.Duration, 0, len(stringBuckets))
The text was updated successfully, but these errors were encountered: