Skip to content

fix: 🐛 throw when creating root directory#326

Merged
streamich merged 2 commits into
masterfrom
fix-mkdir
Feb 9, 2019
Merged

fix: 🐛 throw when creating root directory#326
streamich merged 2 commits into
masterfrom
fix-mkdir

Conversation

@streamich

Copy link
Copy Markdown
Owner

closes #325

@streamich streamich merged commit b765ff8 into master Feb 9, 2019
@streamich streamich deleted the fix-mkdir branch February 9, 2019 20:06
@streamich

Copy link
Copy Markdown
Owner Author

🎉 This PR is included in version 2.15.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

haoqunjiang added a commit to haoqunjiang/webpack that referenced this pull request Mar 12, 2020
Fixes webpack#10544.

Though the `EISDIR` error code is not mentioned in the POSIX standard,
FreeBSD and memfs both throws this error when trying to run `mkdir` on
`/`. So essentially we should treat it the same as `EEXIST`.

References:
* https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=59739
* streamich/memfs#326
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

creates undefined directories

1 participant