Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2019-12-27 18:18:42 +0300
committerRuben Bridgewater <ruben@bridgewater.de>2020-01-03 18:22:03 +0300
commita37a88f40deaabf2be598d72f6a800a74eacd9f0 (patch)
treedddf50f246c620b33a0daa084b3a8d801491fea4 /doc
parent2313b9e33b706ba556ca1131e5389fa59ce42f12 (diff)
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: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/process.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/process.md b/doc/api/process.md
index c9f514d5d58..f5d81878cfe 100644
--- a/doc/api/process.md
+++ b/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