Skip to content

Commit 36d9b8d

Browse files
authored
Merge pull request #436 from Soarc/cli-hang-fix
fixes hanging cli after execution finished
2 parents 6543f0b + ff7d6c8 commit 36d9b8d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,9 @@ const main = async () => {
308308
} catch (e) {
309309
console.error(e);
310310
process.exit(1);
311+
return;
311312
}
313+
process.exit(0);
312314
};
313315

314316
main();

0 commit comments

Comments
 (0)