diff options
Diffstat (limited to 'deps/npm/lib/stars.js')
-rw-r--r-- | deps/npm/lib/stars.js | 3 |
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() |