aboutsummaryrefslogtreecommitdiff
path: root/deps/npm/lib/whoami.js
diff options
context:
space:
mode:
authorTimothy J Fontaine <tjfontaine@gmail.com>2014-07-31 09:05:30 -0700
committerTimothy J Fontaine <tjfontaine@gmail.com>2014-07-31 09:05:30 -0700
commit1223cafea647e2af4580f4990dc313abf4f7a802 (patch)
tree86187cebe369b35e0075976cefcbe73fd58aede4 /deps/npm/lib/whoami.js
parent4f1ae11a62b97052bc83756f8cb8700cc1f61661 (diff)
downloadandroid-node-v8-1223cafea647e2af4580f4990dc313abf4f7a802.tar.gz
android-node-v8-1223cafea647e2af4580f4990dc313abf4f7a802.tar.bz2
android-node-v8-1223cafea647e2af4580f4990dc313abf4f7a802.zip
npm: Upgrade to v1.4.21
Diffstat (limited to 'deps/npm/lib/whoami.js')
-rw-r--r--deps/npm/lib/whoami.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/lib/whoami.js b/deps/npm/lib/whoami.js
index 664cbdbb0d..f1c67e2b0d 100644
--- a/deps/npm/lib/whoami.js
+++ b/deps/npm/lib/whoami.js
@@ -7,7 +7,7 @@ whoami.usage = "npm whoami\n(just prints the 'username' config)"
function whoami (args, silent, cb) {
if (typeof cb !== "function") cb = silent, silent = false
var me = npm.config.get("username")
- msg = me ? me : "Not authed. Run 'npm adduser'"
+ var msg = me ? me : "Not authed. Run 'npm adduser'"
if (!silent) console.log(msg)
process.nextTick(cb.bind(this, null, me))
}