Commit b466f60
committed
fix(agents): widen file.name to string before comparison to satisfy lint
Lint flagged String(file.name) as 'type conversion does not change the
type or value'. Widen via .map((f) => f.name): string[] for the .includes
check, and use file.name as string for the .find predicate.1 parent c9774b1 commit b466f60
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
191 | | - | |
192 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
193 | 195 | | |
194 | 196 | | |
195 | 197 | | |
| |||
0 commit comments