-
-
Notifications
You must be signed in to change notification settings - Fork 359
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
cache directory is created even with disabled cache #563
Labels
Comments
This issue was introduced with nyc version |
@lo1tuma could you give this a shot:
I think I figured out what was happening to you. |
@bcoe I’ve just tested it with version |
As |
@fstoerkle @lo1tuma awesome 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please use the template provided below, when reporting bugs:
Expected Behavior
The cache directory is not created when caching is disabled via CLI flag.
Observed Behavior
NYC tries to create a
.cache
folder inside ofnode_modules
which is a read-only folder in my case, so nyc crashes:Bonus Points! Code (or Repository) that Reproduces Issue
We run nyc as a npm run-script:
nyc --cache false --all npm run test:unit
.Forensic Information
We use
nix
in our CI system to ensure having a reproducible build, hence all build artifacts (e.g.node_modules
folder) are immutable (i.e. read-only).Operating System: the operating system you observed the issue on.
Ubuntu
Environment Information: information about your project's environment, see instructions below:
Linux 4.2.0-23-generic
node v7.7.3
npm v4.1.2
The text was updated successfully, but these errors were encountered: