We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9034a03 + a27efdb commit eaa6fddCopy full SHA for eaa6fdd
1 file changed
source-map-support.js
@@ -429,11 +429,10 @@ function printErrorAndExit (error) {
429
var source = getErrorSource(error);
430
431
if (source) {
432
- console.error();
433
- console.error(source);
+ fs.writeSync(2, "\n" + source + "\n");
434
}
435
436
- console.error(error.stack);
+ fs.writeSync(2, error.stack + "\n");
437
process.exit(1);
438
439
0 commit comments