From 1d7ff3d67335f38e3c1fa5b25f78ea4d7775da66 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Fri, 27 Dec 2019 10:18:42 -0500 Subject: [PATCH] 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 Reviewed-By: Rich Trott Reviewed-By: David Carlier Reviewed-By: Luigi Pinca --- doc/api/process.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/process.md b/doc/api/process.md index b5945cd80aebe9..64678a45aa4b44 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