Skip to content

Commit

Permalink
go: remove loop variable copying (#2044)
Browse files Browse the repository at this point in the history
  • Loading branch information
bendrucker authored May 7, 2024
1 parent c1f22b1 commit 6adba23
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ linters:
enable:
- gci
- gofmt
- copyloopvar
issues:
exclude-dirs:
- terraform/
Expand Down
2 changes: 0 additions & 2 deletions plugin/install_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ func TestNewGitHubClient(t *testing.T) {
}

for _, tc := range cases {
tc := tc

t.Run(tc.name, func(t *testing.T) {
client, err := newGitHubClient(context.Background(), tc.config)
if err != nil {
Expand Down

0 comments on commit 6adba23

Please sign in to comment.