fix make check

This commit is contained in:
Trent Mick 2017-05-03 23:33:24 -07:00
parent 40ee2503cc
commit 05a49c34c9

View file

@ -42,7 +42,7 @@ var nodeSpawnSupportsStdio = (nodeVer[0] > 0 || nodeVer[1] >= 8);
// Internal debug logging via `console.warn`. // Internal debug logging via `console.warn`.
var _selfTrace = function selfTraceNoop() {}; var _selfTrace = function selfTraceNoop() {};
if (process.env.BUNYAN_SELF_TRACE === "1") { if (process.env.BUNYAN_SELF_TRACE === '1') {
_selfTrace = function selfTrace() { _selfTrace = function selfTrace() {
process.stderr.write('[bunyan self-trace] '); process.stderr.write('[bunyan self-trace] ');
console.warn.apply(null, arguments); console.warn.apply(null, arguments);