Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/lib/stars.js')
-rw-r--r--deps/npm/lib/stars.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/npm/lib/stars.js b/deps/npm/lib/stars.js
index 4ad8f02e59d..4771079356a 100644
--- a/deps/npm/lib/stars.js
+++ b/deps/npm/lib/stars.js
@@ -5,6 +5,7 @@ stars.usage = 'npm stars [<user>]'
var npm = require('./npm.js')
var log = require('npmlog')
var mapToRegistry = require('./utils/map-to-registry.js')
+var output = require('./utils/output.js')
function stars (args, cb) {
npm.commands.whoami([], true, function (er, username) {
@@ -38,7 +39,7 @@ function stars (args, cb) {
log.warn('stars', 'user has not starred any packages.')
} else {
data.rows.forEach(function (a) {
- console.log(a.value)
+ output(a.value)
})
}
cb()