-
Notifications
You must be signed in to change notification settings - Fork 127
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
Stop using process.umask() #95
Comments
aduh95
added a commit
to aduh95/extract-zip
that referenced
this issue
Apr 23, 2020
aduh95
added a commit
to aduh95/extract-zip
that referenced
this issue
Apr 23, 2020
🤷♂️ This is the commit that introduced it: 6ad307a |
malept
pushed a commit
that referenced
this issue
Jun 10, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Refs: nodejs/node#32321
Summary: process.umask() (no args) is deprecated and will be removed.
I couldn't quite divine what this lib uses
process.umask()
for but in most cases you don't need to deal with the umask directly - the operating system will apply it automatically.Example:
Computing the file mode that way is superfluous, it can be replaced with just this:
The text was updated successfully, but these errors were encountered: