Skip to content
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

Set custom path for output #44

Open
SergeyPirogov opened this issue Nov 8, 2019 · 2 comments
Open

Set custom path for output #44

SergeyPirogov opened this issue Nov 8, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@SergeyPirogov
Copy link

SergeyPirogov commented Nov 8, 2019

Now the path to .nyc_output is not configurable. Is it possible to add support for this? For example if I need to generate raw data to the different path. Example /user/home/project/folder/.nyc_output

@bcoe bcoe added the enhancement New feature or request label Nov 11, 2019
@bcoe
Copy link
Member

bcoe commented Nov 11, 2019

@SergeyPirogov would happily take a patch for this 👍

@munrocket
Copy link
Contributor

munrocket commented Dec 3, 2019

Also we need to customize path in report, because coverage simply not working with wrong paths.
For example I need to replace .nyc_output/js -> dist in my report with this dirty hack:

sed -i 's/.nyc_output\\/js/dist/g' .nyc_output/out.json && nyc report --reporter=lcov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants