danger-plugin-istanbul-coverage icon indicating copy to clipboard operation
danger-plugin-istanbul-coverage copied to clipboard

Feat: `useAbsolutePath` for lcov reports

Open samitha9125 opened this issue 2 years ago • 1 comments

Istanbul now generates lcov.info reports with relative path rather than absolute as explains in this merge request. Thus, it is required to have a parameter to explicitly tell the plugin to use relative path.

useAbsolutePath: false

by adding above parameter to passing configs, this can be achieved now. If you are generating lcov reports using a latest istanbul reporter such as nyc or c8, this prop should be used.

samitha9125 avatar Mar 11 '23 11:03 samitha9125

Hi @samitha9125 , thanks for the PR. It's hard to read the diff with all the formatting changes. Would it be possible to apply those changes and the prettierrc in a follow up PR?

darcy-rayner avatar Mar 13 '23 16:03 darcy-rayner