You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8b75237
Browse filesBrowse the repository at this point in the historyBrowse files
fix(coverage): handle empty branch locations in lcov generation (#44114)
## Summary
- Use optional chaining when accessing `location.start?.line` in `CoverageReporter.lcovReport` to prevent `TypeError` when Istanbul coverage data contains empty branch locations.
- Fallback safely to `branch.loc?.start?.line ?? branch.line ?? 0`.
Fixes#44113
0 commit comments