fix --debug-check

master
Christopher Chedeau 2017-02-13 19:25:28 -08:00
parent fbba7db6e2
commit f3d64b0ffc
1 changed files with 5 additions and 0 deletions

View File

@ -236,6 +236,11 @@ if (stdin) {
}
});
}
} else if (argv["debug-check"]) {
process.stdout.write("\n");
if (output) {
console.log(output);
}
} else {
// Don't use `console.log` here since it adds an extra newline at the end.
process.stdout.write(output);