diff options
author | Forrest L Norvell <forrest@npmjs.com> | 2015-05-28 22:27:26 -0400 |
---|---|---|
committer | Forrest L Norvell <forrest@npmjs.com> | 2015-05-30 08:15:11 -0400 |
commit | c1afa53648cf872f62b551e868522fdc2612e3a9 (patch) | |
tree | 138449538f9d0a350f1db43593ac8ed3d9c04d8f /deps/npm/node_modules/npm-registry-client/lib/star.js | |
parent | a65762cab6edf33d87a129e406f633dfa445bb23 (diff) | |
download | android-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.js | 2 |
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') |