diff options
author | Beth Griggs <Bethany.Griggs@uk.ibm.com> | 2020-09-24 23:02:33 +0100 |
---|---|---|
committer | Myles Borins <myles.borins@gmail.com> | 2020-09-30 21:46:25 -0400 |
commit | 4acab22ac2dd4d066c7d50eb1916e34af555eccf (patch) | |
tree | 82e145106a9e6b7b5bcc4fa215f14ccc73f32ba2 /test | |
parent | 869ded3b0e9b1f53b7161827bc2275a584881fc7 (diff) | |
download | node-new-4acab22ac2dd4d066c7d50eb1916e34af555eccf.tar.gz |
Revert "src: runtime deprecate process.umask()"
This reverts commit 60c4c2b6c557efbb2f8f3a3de147baf987931d41.
PR-URL: https://github.com/nodejs/node/pull/35332
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ruy Adorno <ruyadorno@github.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/parallel/test-process-umask.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/parallel/test-process-umask.js b/test/parallel/test-process-umask.js index e74c71e193..85af916207 100644 --- a/test/parallel/test-process-umask.js +++ b/test/parallel/test-process-umask.js @@ -40,13 +40,6 @@ if (common.isWindows) { mask = '0664'; } -common.expectWarning( - 'DeprecationWarning', - 'Calling process.umask() with no arguments is prone to race conditions ' + - 'and is a potential security vulnerability.', - 'DEP0139' -); - const old = process.umask(mask); assert.strictEqual(process.umask(old), parseInt(mask, 8)); |