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

Only skip the found line, not the whole file #585

Conversation

obergerdavid
Copy link

When using multiple coverage reports as input for the SonarQube format, then the coverage is not correctly merged.
The reason for this is that the SonarCubeBuilder skips the whole file if an existing line is found in an existing file.
With this PR this behavior is fixed, so that only the existing line is not added a second time.

@danielpalme
Copy link
Owner

Thanks for you PR. Will have a look next week.

@danielpalme danielpalme merged commit 5825771 into danielpalme:main Jan 29, 2023
@danielpalme
Copy link
Owner

Thanks again. I just merged your PR. The next release will contain the fix (not sure when I will publish it).

@obergerdavid obergerdavid deleted the feature/fix_sonarcube_coverage_when_using_multiple_input_files branch January 31, 2023 12:40
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