Skip to content

Commit

Permalink
additional refactor to anonymous race cond rule
Browse files Browse the repository at this point in the history
  • Loading branch information
hex0punk committed Aug 21, 2023
1 parent 50f929f commit 7db5d05
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions go/anonymous-race-condition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,18 +99,6 @@ rules:
...
go func(...){
...
<... $X.$VAR ...>
}(...)
...
}
- pattern-not: |
for $Y, $X := range ... {
...
$Y, $X := $Y, $X
...
go func(...){
...
<... $Y.$VAR ...>
}(...)
...
}

0 comments on commit 7db5d05

Please sign in to comment.