Permalink
Browse files

Issue #1506: Replace process.stdout.write with console.log

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
  • Loading branch information...
KnisterPeter authored and valueof committed Feb 21, 2014
1 parent 996158b commit 2b320010197c8eb4acf0bff2a99e5a3ad6fb7f56
Showing with 4 additions and 4 deletions.
  1. +1 −1 src/reporters/checkstyle.js
  2. +1 −1 src/reporters/default.js
  3. +1 −1 src/reporters/jslint_xml.js
  4. +1 −1 src/reporters/non_error.js
@@ -76,6 +76,6 @@ module.exports =
out.push("</checkstyle>");
- process.stdout.write(out.join("\n") + "\n");
+ console.log(out.join("\n"));
}
};
View
@@ -28,7 +28,7 @@ module.exports = {
});
if (str) {
- process.stdout.write(str + "\n" + len + ' error' + ((len === 1) ? '' : 's') + "\n");
+ console.log(str + "\n" + len + ' error' + ((len === 1) ? '' : 's'));
}
}
};
@@ -52,6 +52,6 @@ module.exports =
out.push("</jslint>");
- process.stdout.write(out.join("\n") + "\n");
+ console.log(out.join("\n") + "\n");
}
};
@@ -46,7 +46,7 @@ module.exports = {
});
if (str) {
- process.stdout.write(str + "\n");
+ console.log(str + "\n");
}
}
};

0 comments on commit 2b32001

Please sign in to comment.