Skip to content

Commit cd310e1

Browse files
cjihrigtargos
authored andcommitted
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 <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: David Carlier <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 5948ff4 commit cd310e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2297,7 +2297,7 @@ flag's behavior.
22972297
added: v0.1.19
22982298
-->
22992299

2300-
* `mask` {number}
2300+
* `mask` {string|integer}
23012301

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

0 commit comments

Comments
 (0)