Update how main is invoked

This commit is contained in:
toasted-nutbread 2020-02-17 22:30:16 -05:00
parent 174d9e7429
commit 7cbebf6897
3 changed files with 3 additions and 3 deletions

View File

@ -87,4 +87,4 @@ async function main() {
}
main();
if (require.main === module) { main(); }

View File

@ -33,4 +33,4 @@ function main() {
}
main();
if (require.main === module) { main(); }

View File

@ -233,4 +233,4 @@ function main() {
}
main();
if (require.main === module) { main(); }