diff options
author | isaacs <i@izs.me> | 2011-10-21 03:24:29 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-10-21 03:24:29 +0400 |
commit | 19bbc786ec80ba6fd77e92aea7cb1b75032ce81f (patch) | |
tree | 5a539ef88d6d04f04452643bbb82b228af3fbf4c /lib/npm.js | |
parent | 08287b0d2b038d2b71f93719faf4a363fcac3709 (diff) |
Close #1509 Don't chmod the npm.prefix folder, just ensure it's there.
Diffstat (limited to 'lib/npm.js')
-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 d40b85ca4..31e1815e8 100644 --- a/lib/npm.js +++ b/lib/npm.js @@ -317,7 +317,7 @@ function loadPrefix (npm, conf, cb) { , enumerable : true }) // the prefix MUST exist, or else nothing works. - mkdir(p, cb) + mkdir(p, null, null, null, true, cb) }) } |