summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/npm-registry-client/lib/star.js
diff options
context:
space:
mode:
authorForrest L Norvell <forrest@npmjs.com>2015-05-28 22:27:26 -0400
committerForrest L Norvell <forrest@npmjs.com>2015-05-30 08:15:11 -0400
commitc1afa53648cf872f62b551e868522fdc2612e3a9 (patch)
tree138449538f9d0a350f1db43593ac8ed3d9c04d8f /deps/npm/node_modules/npm-registry-client/lib/star.js
parenta65762cab6edf33d87a129e406f633dfa445bb23 (diff)
downloadandroid-node-v8-c1afa53648cf872f62b551e868522fdc2612e3a9.tar.gz
android-node-v8-c1afa53648cf872f62b551e868522fdc2612e3a9.tar.bz2
android-node-v8-c1afa53648cf872f62b551e868522fdc2612e3a9.zip
deps: upgrade npm to 2.11.0
PR-URL: https://github.com/iojs/io.js/pull/1829 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'deps/npm/node_modules/npm-registry-client/lib/star.js')
-rw-r--r--deps/npm/node_modules/npm-registry-client/lib/star.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/node_modules/npm-registry-client/lib/star.js b/deps/npm/node_modules/npm-registry-client/lib/star.js
index 426b40cec8..5c9224eaa2 100644
--- a/deps/npm/node_modules/npm-registry-client/lib/star.js
+++ b/deps/npm/node_modules/npm-registry-client/lib/star.js
@@ -7,7 +7,7 @@ function star (uri, params, cb) {
assert(params && typeof params === 'object', 'must pass params to star')
assert(typeof cb === 'function', 'must pass callback to star')
- var starred = params.starred ? true : false
+ var starred = !!params.starred
var auth = params.auth
assert(auth && typeof auth === 'object', 'must pass auth to star')