Skip to content

Commit

Permalink
Fix inconsistent trailing newlines in CLI error output (#4876)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-allanson committed Aug 1, 2020
1 parent 30bacfc commit 48fb7cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli.js
Expand Up @@ -534,7 +534,7 @@ module.exports = (argv) => {
* @returns {void}
*/
function handleError(err) {
process.stderr.write(err.stack);
process.stderr.write(err.stack + EOL);
const exitCode = typeof err.code === 'number' ? err.code : 1;

process.exitCode = exitCode;
Expand Down

0 comments on commit 48fb7cf

Please sign in to comment.