Skip to content

Commit 63306f5

Browse files
committed
review
1 parent 466c360 commit 63306f5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/lint/lintersdb/manager.go

-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,6 @@ func AllPresets() []string {
299299
func linterConfigsToMap(lcs []*linter.Config) map[string]*linter.Config {
300300
ret := map[string]*linter.Config{}
301301
for _, lc := range lcs {
302-
lc := lc // local copy
303302
ret[lc.Name()] = lc
304303
}
305304

0 commit comments

Comments
 (0)