Commit 4d2df05
authored
fix: prevent duplicate files when
I found that the glob pattern for some extensions hit multiple files more than once.
```py
pathlib.Path(".").rglob("*.c")
# matches demo.c and demo.cpp
```
Worse, the duplicates were being analyzed more than once.
So, this offer a performance improvement as well.--files-changed-only=false (#164)1 parent 1b4a252 commit 4d2df05
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
180 | | - | |
| 179 | + | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| |||
0 commit comments