Skip to content
Browse files

Switched to process.{stdin|stderr}.write instead of console.

  • Loading branch information...
1 parent 51f7750 commit 5c2388cb5efd9d2318a3abfc692c51848aa7ee32 @davglass committed Jul 11, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/yuicompressor
View
4 bin/yuicompressor
@@ -23,8 +23,8 @@ args.unshift('-jar');
var cmd = spawn('java', args);
cmd.stdout.on('data',function(data) {
- console.log(data.toString().trim());
+ process.stdout.write(data.toString());
});
cmd.stderr.on('data',function(data) {
- console.error(data.toString().trim());
+ process.stderr.write(data.toString());
});

0 comments on commit 5c2388c

Please sign in to comment.
Something went wrong with that request. Please try again.