Skip to content

Commit

Permalink
fix: catch never executes
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoehnelt authored Mar 29, 2020
1 parent 2b3ca20 commit 354cc5c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,8 @@ export async function run(): Promise<void> {
)
);
} catch (error) {
/* istanbul ignore next */
() => {
// https://github.com/gotwarlost/istanbul/issues/361
core.error(error);
core.setFailed(error.message);
};
}
}

Expand Down

0 comments on commit 354cc5c

Please sign in to comment.