diff options
Diffstat (limited to 'deps/npm/lib/team.js')
-rw-r--r-- | deps/npm/lib/team.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/npm/lib/team.js b/deps/npm/lib/team.js index 324d8df5e22..f99063b2787 100644 --- a/deps/npm/lib/team.js +++ b/deps/npm/lib/team.js @@ -1,5 +1,6 @@ var mapToRegistry = require('./utils/map-to-registry.js') var npm = require('./npm') +var output = require('./utils/output.js') module.exports = team @@ -44,7 +45,7 @@ function team (args, cb) { team: entity[1], user: args.shift() }, function (err, data) { - !err && data && console.log(JSON.stringify(data, undefined, 2)) + !err && data && output(JSON.stringify(data, undefined, 2)) cb(err, data) }) } catch (e) { |