refactor: don't catch top-level promises
the ts compiler will handle it for us
This commit is contained in:
@ -118,5 +118,5 @@ async function main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (require.main === module) {
|
if (require.main === module) {
|
||||||
main().catch(e => console.error(e));
|
main();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user