Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
  • Loading branch information...
commit 2b320010197c8eb4acf0bff2a99e5a3ad6fb7f56 1 parent 996158b
@KnisterPeter KnisterPeter authored valueof committed
View
2  src/reporters/checkstyle.js
@@ -76,6 +76,6 @@ module.exports =
out.push("</checkstyle>");
- process.stdout.write(out.join("\n") + "\n");
+ console.log(out.join("\n"));
}
};
View
2  src/reporters/default.js
@@ -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'));
}
}
};
View
2  src/reporters/jslint_xml.js
@@ -52,6 +52,6 @@ module.exports =
out.push("</jslint>");
- process.stdout.write(out.join("\n") + "\n");
+ console.log(out.join("\n") + "\n");
}
};
View
2  src/reporters/non_error.js
@@ -46,7 +46,7 @@ module.exports = {
});
if (str) {
- process.stdout.write(str + "\n");
+ console.log(str + "\n");
}
}
};
Please sign in to comment.
Something went wrong with that request. Please try again.