Skip to content

Commit ff7d6c8

Browse files
committed
fixes hanging cli after execution finished
1 parent 6543f0b commit ff7d6c8

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)