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:
Diffstat (limited to 'lib/npm.js')
-rw-r--r--lib/npm.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/npm.js b/lib/npm.js
index 5728f7343..8f42b2784 100644
--- a/lib/npm.js
+++ b/lib/npm.js
@@ -265,7 +265,8 @@ function load (npm, cli, cb) {
// look up configs
//console.error("about to look up configs")
- npmconf.load(cli, function (er, conf) {
+ var builtin = path.resolve(__dirname, "..", "npmrc")
+ npmconf.load(cli, builtin, function (er, conf) {
if (er === conf) er = null
npm.config = conf