diff options
-rw-r--r-- | lib/npm.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/npm.js b/lib/npm.js index 8f42b2784..41f4ddeec 100644 --- a/lib/npm.js +++ b/lib/npm.js @@ -323,7 +323,7 @@ function load (npm, cli, cb) { } } - var umask = parseInt(cli.umask, 8) + var umask = npm.config.get("umask") npm.modes = { exec: 0777 & (~umask) , file: 0666 & (~umask) , umask: umask } |