-
Notifications
You must be signed in to change notification settings - Fork 22
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
Empty file when merging lcov.files #55
Comments
@migheorghe It's overwriting the original files, prepending the path over and over with the I'm using it as a yarn coverage && yarn lcov-result-merger **/coverage/lcov.info lcov.info --prepend-source-files There should be some kind of I migh refactor this project a bit, and provide a bit more decent replacement, in the future. |
@mdeanjones any idea here? |
Nothing at present @mweibel. I'll be closing out some other work in the next couple of weeks, and plan on digging into this. @yuriy-yarosh refactors are welcome! There's a lot that I've been eyeing too. |
Following up on this @migheorghe. OLD Lines 104 to 107 in 5aa886d
With this release, that temp file is being created in the OS' temp space, so it should never collide. NEW Lines 96 to 101 in 6cd3b21
I think that we can move even further and eliminate using temp files altogether... more refactors incoming. |
I seem to be still experiencing this on 5.0.0. |
Tbh, I don't seem to be able to make any combination of versions/commands/options work. |
@carboni-rob, would you be able to create a minimal reproduction of your issue, or furnish a sample file that is failing to be read? Initial thoughts:
Happy holidays! |
I was having the same issue, actually was about to post it here, when I realized my problem was that the file pattern informed to lcov-result-merger was wrong. @mdeanjones maybe you could output some feedback when no source lcovs are found, which can give a clue for the user if he got the parameters wrong. |
For some reasone version 4 does not output anything when run like bellow:
V4.0.0 - npx lcov-result-merger "C:\temp\CodeCoverage**\lcov.info" "C:\Temp\CodeCoverage\lcov.info"
version 3.3.0 works as expected
npx [email protected] "C:\temp\CodeCoverage**\lcov.info" "C:\Temp\CodeCoverage\lcov.info"
The text was updated successfully, but these errors were encountered: