-
Notifications
You must be signed in to change notification settings - Fork 772
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
BREAKING: Use internal fork of make-dir for mkdirs implementation #756
Conversation
89cc8cf
to
64a3e2b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Concept ACK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would strongly favor keeping the fork of the mkdirs implementation in its own package somewhere. It should be possible to swap this kind of implementation without too much extra junk in the git history.
I did discover an existing mkdirs
package that has not been updated for 5 years or so. Maybe time for someone to update or renew it?
@brodybits Our previous code was a fork of an old version of https://www.npmjs.com/package/mkdirp. That package is well-maintained, our fork is much less-so. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Resolves #619 Everything should work similarly to how it did before; except that we no longer return a file path on success (to match fs.mkdir). Also, errors may be different.
- Error codes are different - Match fs.mkdir behavior on Windows when creating root
64a3e2b
to
29b55cb
Compare
Rebased and added new commits fixing issues above. |
@jprichardson @manidlou @JPeer264 Ready for final review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Resolves #619
Everything should work similarly to how it did before; except that we no longer return a file path on success (to match fs.mkdir). Also, errors may be differentBreaking Changes:
fs.mkdir
)fs.mkdir
)https://github.com/sindresorhus/make-dir