Skip to content
Permalink
Browse files

doc: update mode type for process.umask()

This commit updates the documentation for process.umask()
to reflect the fact that the mode option can be a string.

PR-URL: #31115
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
cjihrig authored and BridgeAR committed Dec 27, 2019
1 parent 2313b9e commit a37a88f40deaabf2be598d72f6a800a74eacd9f0
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/api/process.md
@@ -2297,7 +2297,7 @@ flag's behavior.
added: v0.1.19
-->

* `mask` {number}
* `mask` {string|integer}

The `process.umask()` method sets or returns the Node.js process's file mode
creation mask. Child processes inherit the mask from the parent process. Invoked

0 comments on commit a37a88f

Please sign in to comment.
You can’t perform that action at this time.