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-03-16 22:47:16 +0300
committerisaacs <i@izs.me>2011-03-22 01:56:13 +0300
commit59aa3aad75f279a10e93f87ce61d8b91a7c3abeb (patch)
treee2e8fdcb27e96f5de197b774efedbc78d40d06ea /lib/utils/default-config.js
parentd945939e649367e73b196a82f40673a840ca86ba (diff)
Add 'username' to the list of known configs
Diffstat (limited to 'lib/utils/default-config.js')
-rw-r--r--lib/utils/default-config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/utils/default-config.js b/lib/utils/default-config.js
index 41964eb68..6368a94a6 100644
--- a/lib/utils/default-config.js
+++ b/lib/utils/default-config.js
@@ -56,6 +56,7 @@ module.exports =
|| process.getuid() !== 0
, usage : false
, user : "nobody"
+ , username : ""
, userconfig : path.resolve(process.env.HOME, ".npmrc")
, version : false
, _exit : true