nyc icon indicating copy to clipboard operation
nyc copied to clipboard

is it possible to store nyc output with relative path?

Open shivamsouravjha opened this issue 9 months ago • 0 comments

  • If I am generating nyc coverage in one machine, share the repo and try running the coverage command on other machine
npx nyc  report --temp-directory=.nyc_output  --verbose

Current behaviou is that I get 0 coverage, reason being the file path has changed while switching machines.

Is it possible to generate the .json files with relative paths to the current repo so that after switching machine I would get the report with the same nyc data?

shivamsouravjha avatar May 14 '24 10:05 shivamsouravjha