Don’t hide errors

This commit is contained in:
Sindre Sorhus 2020-04-20 20:26:06 +08:00
parent 0843379a4f
commit 4394f4f445
1 changed files with 1 additions and 1 deletions

2
cli.js
View File

@ -188,6 +188,6 @@ async function init() {
}
init().catch(error => {
ora.fail(error);
ora.fail((error && error.stack) || error);
process.exit(1);
});