Skip to content

Commit

Permalink
Fix minor typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
stalet committed Jan 22, 2024
1 parent 25bda25 commit d9e64ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cli/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,11 +370,11 @@ exports.handler = async function (argv) {
await runMocha(mocha, argv);
} catch (err) {
if (!err) {
console.error('\n Undefined error:`, err);
console.error('\n Undefined error:', err);
} else {
console.error('\n' + (err.stack || `Error: ${err.message}`), err);
}

process.exit(1);
}
};

0 comments on commit d9e64ad

Please sign in to comment.