Skip to content

Commit

Permalink
fix: not handling run function
Browse files Browse the repository at this point in the history
  • Loading branch information
domenicsim1 committed Jan 3, 2024
1 parent bdc65fe commit e14e8e1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@ async function run(): Promise<void> {
}

run()
.then()
.catch(e => {
if (e instanceof Error) {
setFailed(e)
}
})

0 comments on commit e14e8e1

Please sign in to comment.