Skip to content

Commit

Permalink
added newlines on error message
Browse files Browse the repository at this point in the history
  • Loading branch information
beatfactor committed Sep 21, 2014
1 parent 36ee8ed commit b8e2a9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/_clirunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ CliRunner.prototype = {
err.message = 'There was an error while running the test.';
}
if (this.test_settings.output) {
process.stderr.write('\n' + Logger.colors.red(err.message));
process.stderr.write('\n' + Logger.colors.red(err.message) + '\n');
}

process.exit(1);
Expand Down
2 changes: 1 addition & 1 deletion bin/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@ try {
}
} catch (ex) {
Logger.error('There was an error while starting the test runner:\n\n');
process.stderr.write(ex.stack);
process.stderr.write(ex.stack + '\n');
process.exit(2);
}

0 comments on commit b8e2a9c

Please sign in to comment.