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

Fix no such directory error in Stylus Executable #2421

Merged
merged 1 commit into from Mar 28, 2019
Merged

Fix no such directory error in Stylus Executable #2421

merged 1 commit into from Mar 28, 2019

Conversation

katabame
Copy link
Contributor

Currently, Stylus Executable isn't creating necessary subdirectories for --out option.
This causes Error: ENOENT: no such file or directory error when specifying not existing subdirectories.
Fortunately, mkdirp is used for middleware.js and stylus already have it in dependencies.

I added mkdirp.sync() in compiling/generating file function for prevent no such file or directory error.
In my test run, it seems working with no errors!

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

Successfully merging this pull request may close these issues.

None yet

2 participants