Skip to content

[2336] Fix API for DotCover.report - #2389

Merged
matthid merged 3 commits into
fsprojects:release/nextfrom
TomasMorton:2336/fix-dotcover
Oct 10, 2019
Merged

matthid merged 3 commits into
fsprojects:release/nextfrom
TomasMorton:2336/fix-dotcover

Conversation

@TomasMorton

@TomasMorton TomasMorton commented Aug 31, 2019 •

Copy link
Copy Markdown

Description

As per #2336, fixes the definition of the DotCover.report function, as it was not handling the failBuild param of buildParamsAndExecute, added in #990.

Note that this would be a "breaking change" for anyone already using the module, because they will be passing in the parameter themselves.

TODO

@matthid matthid added the needs-tests This PR needs tests in order to be accepted label Sep 5, 2019
@matthid

matthid commented Sep 5, 2019

Copy link
Copy Markdown
Member

Nice catch!
While technically a breaking change, we will revert this (just as you suggest in this PR) as I indeed consider this a bugfix.
Please also feel free to use failbuild=true. We can always set to false later, but if we already break we can fix that default as well (maybe even for the DotCoverMerge function?). This was basically the pre 2015 behavior...

@matthid
matthid merged commit 3d65cf8 into fsprojects:release/next Oct 10, 2019
@TomasMorton

Copy link
Copy Markdown
Author

Hey @matthid,

Really sorry, I've been too busy to get around to making modifications. I agree it would have made more sense to have fail as true.

Thank you for merging the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-tests This PR needs tests in order to be accepted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants