diff options
author | isaacs <i@izs.me> | 2012-07-17 00:28:37 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-07-17 00:28:37 +0400 |
commit | 1977584a975db9fbc2cd36b34ea2e4743f465dd4 (patch) | |
tree | 7918d085aeabdf2cd4416277b2ed626d9ca1485b /lib/star.js | |
parent | 4431b14b1eedfa4fd03edc6e2c8388096ee859e7 (diff) |
Replace lib/utils/output.js with console.log
Diffstat (limited to 'lib/star.js')
-rw-r--r-- | lib/star.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/star.js b/lib/star.js index fc4fb96f1..33b12471a 100644 --- a/lib/star.js +++ b/lib/star.js @@ -5,7 +5,6 @@ var npm = require("./npm.js") , registry = npm.registry , log = require("npmlog") , asyncMap = require("slide").asyncMap - , output = require("./utils/output.js") star.usage = "npm star <package> [pkg, pkg, ...]\n" + "npm unstar <package> [pkg, pkg, ...]" @@ -25,7 +24,7 @@ function star (args, cb) { asyncMap(args, function (pkg, cb) { registry.star(pkg, using, function (er, data, raw, req) { if (!er) { - output.write(s + " "+pkg, npm.config.get("outfd")) + console.log(s + " "+pkg) log.verbose("star", data) } cb(er, data, raw, req) |