-
Notifications
You must be signed in to change notification settings - Fork 773
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
port fix for mkdirp issue #111 #268
Conversation
The original mkdirp mis-handles the fourth parameter when a directory component is missing. The same issue is present in the fs-extra variant. See: https://github.com/substack/node-mkdirp/issues/111 Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Great, thanks. Please add a test. |
@jprichardson I'll probably do that but I'm going to wait until upstream decides what to do, since IMO variant behavior between fs-extras and mkdirp would be worse than both being wrong the same way. |
@jprichardson @RyanZim what is this one's destiny?! |
Upstream mkdirp has never merged the patch, until then, I'm not merging it either. |
gotcha! |
FWIW, since upstream hasn't seen any updates since before this bug was reported I expect it to remain unmerged. At least it's logged in both places, and a fix is available for whoever really needs it. |
Ah, wasn't aware of that. At fs-extra, we've never documented the Edit: if we go this route; #359 can be closed. |
@manidlou FYI, I have labeled this with |
Since we will be switching to Node's implementation in the future (#619), which does not support this parameter, we'll likely be removing it in the future. Upstream mkdirp has never patched this either. Closing this out. |
The original mkdirp mis-handles the fourth parameter when a directory
component is missing. The same issue is present in the fs-extra
variant.
See: https://github.com/substack/node-mkdirp/issues/111