File paths in lcov.info used to be absolute before 15.0.0. This has changed in the following PRs:
It looks like these PRs do such a good job of "adding support for relative path option" that they remove the possibility to use absolute paths altogether, since this.cwd is now always set as the projectRoot for the lcovonly module, which uses path.relative without the option to turn this feature off.
Is there some way to continue using absolute paths in lcov.info?
If this would need changes in the code, I'm happy to prepare a PR.
File paths in
lcov.infoused to be absolute before 15.0.0. This has changed in the following PRs:It looks like these PRs do such a good job of "adding support for relative path option" that they remove the possibility to use absolute paths altogether, since
this.cwdis now always set as theprojectRootfor thelcovonlymodule, which usespath.relativewithout the option to turn this feature off.Is there some way to continue using absolute paths in
lcov.info?If this would need changes in the code, I'm happy to prepare a PR.