tenninebt / vscode-koverage

VSCode code coverage extension
Apache License 2.0
26 stars 6 forks source link

fix recomputeStats #28

Closed kuboon closed 1 year ago

kuboon commented 1 year ago

section.hit and section.found are always null. it overwrides hit&found by 0 if details are empty.

tenninebt commented 1 year ago

Will review today. Sorry for the delay.

tenninebt commented 1 year ago

@kuboon have an example coverage file? as I'm thinking the fix might be improved to cover more cases.

kuboon commented 1 year ago

Added type checking for clearing what was the problem.

tenninebt commented 1 year ago

Merged the same change in #32