Permalink
Browse files

using process.stdio.write instead of sys.puts

  • Loading branch information...
1 parent 79d3c2b commit 5bf6c4903d0d6d40183d51f0ae94fd23d09c5f67 @tmpvar committed Apr 7, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/runner.js
View
@@ -95,7 +95,7 @@ exports.run = function(testSuites) {
}
if (args.json) {
- sys.puts(JSON.stringify({
+ process.stdio.write(JSON.stringify({
total: total,
pass: total-errors.length,
fail: errors.length

0 comments on commit 5bf6c49

Please sign in to comment.