Skip to content

Commit

Permalink
hack/depsync: add nolint directive on hard to preallocate slice
Browse files Browse the repository at this point in the history
  • Loading branch information
nadiamoe authored and Roberto Santalla committed Sep 22, 2023
1 parent e4b1ad9 commit 6b28c87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hack/depsync/depsync.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func main() {
log.Fatalf("reading k6 core dependencies: %v", err)
}

//nolint:prealloc // Number of mismatched deps cannot be accurately predicted.
var mismatched []string
for dep, version := range ownDeps {
coreVersion, inCore := coreDeps[dep]
Expand Down

0 comments on commit 6b28c87

Please sign in to comment.