-
-
Notifications
You must be signed in to change notification settings - Fork 156
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
Introduce module for constants #172
Conversation
Needs rebase |
4816876
to
1d8d302
Compare
Rebased! |
var expectedDirMode = (isDarwin ? parseInt('777', 8) : parseInt('2777', 8)) & ~process.umask(); | ||
var expectedFileMode = parseInt('677', 8) & ~process.umask(); | ||
var expectedDirMode = constants.DEFAULT_DIR_MODE; | ||
if (!isDarwin) { |
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.
The custom mkdirp is implemented, do we still need this check? Maybe it needs to be improved?
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 meant to look into that, but haven't had time... But yes, if the mkdirp change does what I hope it does then this should not be needed.
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.
Alright, I'll merge this and take a look
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.
Cool, thanks for review and merge!
As discussed here.