Commit 0427c3b
Fix duplicate warnings and errors in build output
Previously, XCLogParser would output many duplicate warnings/errors when
parsing build logs. This was particularly noticeable with warnings like
deprecated API usage that appeared dozens of times.
Changes:
- Modified BuildLogParser to deduplicate error and warning strings using Set
- Applied deduplication after formatting but before returning results
- Preserves all unique warnings while eliminating exact duplicates
Example: A build with 91 total warnings but only 7 unique ones now
correctly displays just the 7 unique warnings.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent 69e2c5b commit 0427c3b
File tree
5 files changed
+29
-29
lines changed- dist
- utils
- src/utils
5 files changed
+29
-29
lines changedFile mode changed.
File mode changed.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
| 305 | + | |
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
| 319 | + | |
320 | 320 | | |
321 | | - | |
| 321 | + | |
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | | - | |
| 335 | + | |
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| |||
0 commit comments