diff options
author | isaacs <i@izs.me> | 2012-08-30 22:53:03 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-08-30 22:53:03 +0400 |
commit | 867545c59665a3f6673b1e3f5e251860b7df500a (patch) | |
tree | c9f0acb836760ebe9461ed2d0369cd7d4b1ac92b /lib | |
parent | 78eddf711590ba2b7ed9a2f0e8475149920fcc98 (diff) |
umask is already an int, don't re-parse it
For @caolanm
Diffstat (limited to 'lib')
-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 } |