Skip to content

Commit

Permalink
Fix void main()
Browse files Browse the repository at this point in the history
  • Loading branch information
atuchin-m committed Sep 14, 2023
1 parent 8098bbd commit 6ff380e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/finch_tracker/finch_tracker_main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,4 +190,10 @@ async function main(): Promise<void> {
}
}

void main();
main()
.then(() => process.exit(0))
.catch((err) => {
console.error('Error running command:');
console.error(err);
process.exit(1);
});

0 comments on commit 6ff380e

Please sign in to comment.