Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: lcov reporter crash when missing branches #613

Merged
merged 2 commits into from Sep 23, 2021
Merged

Conversation

Cairon
Copy link
Contributor

@Cairon Cairon commented May 27, 2021

In some cases, reports have missing branchMap elements regarding the branches and cause lcov report crashes.
Several issues are related to this case, like #572.
This fix prevents the crash and display the concerned files as warning, allowing to generate lcov reports.

@bcoe bcoe merged commit d34981c into istanbuljs:master Sep 23, 2021
@github-actions github-actions bot mentioned this pull request Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants