-
Notifications
You must be signed in to change notification settings - Fork 87
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
files on fs #158
Comments
As I realdy said in svg/svgo#574:
|
If I understand right I need to say false for creating process.cwd dir? After that, all node_modules connected with fs will work, right? |
I don't understand. What do you mean by that? |
I mean I should set option for mock-fs wich will not create folder for process.cwd |
Why would it create a directory? As I said: You need to specify which should be inside the directory. By default, a |
The code below create exception and node_modules wich use fs for config parsing fails if somebody wants to use them with mock-fs:
The text was updated successfully, but these errors were encountered: