fix(cli): prevent CLI from hanging (#2974)
* fix(cli): prevent hanging CLI * Changeset
This commit is contained in:
parent
ad3c391696
commit
824458790a
2 changed files with 8 additions and 1 deletions
5
.changeset/soft-dolphins-join.md
Normal file
5
.changeset/soft-dolphins-join.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Prevent CLI from hanging
|
|
@ -96,4 +96,6 @@ Please upgrade Node.js to a supported version: "${engines}"\n`);
|
|||
process.exit(1);
|
||||
}
|
||||
|
||||
main();
|
||||
main()
|
||||
.then(() => process.exit(0))
|
||||
.catch(() => process.exit(1));
|
||||
|
|
Loading…
Reference in a new issue