Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-10-21 03:24:29 +0400
committerisaacs <i@izs.me>2011-10-21 03:24:29 +0400
commit19bbc786ec80ba6fd77e92aea7cb1b75032ce81f (patch)
tree5a539ef88d6d04f04452643bbb82b228af3fbf4c /lib/npm.js
parent08287b0d2b038d2b71f93719faf4a363fcac3709 (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.js2
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)
})
}