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

Output cobertura data before bailing out #228

Merged
merged 1 commit into from
Nov 27, 2022

Conversation

yuval-nextsilicon
Copy link
Contributor

This fixes an issue where if --cobertura and --output-path are used simultaneously, then the saved file doesn't contain the cobertura-style output because the code returns inside if let Some(output_path) = &cx.args.cov.output_path and doesn't enter the cobertura clause at all.

Copy link
Owner

@taiki-e taiki-e left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

bors r+

@bors
Copy link
Contributor

bors bot commented Nov 27, 2022

Build succeeded:

@bors bors bot merged commit e6e4526 into taiki-e:main Nov 27, 2022
@taiki-e
Copy link
Owner

taiki-e commented Nov 27, 2022

Published in 0.5.2.

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