Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Commit

Permalink
throw error on post comment
Browse files Browse the repository at this point in the history
  • Loading branch information
alita-moore committed Mar 24, 2021
1 parent dfcbdf1 commit 83def55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ export const main = async () => {
}

if (ERRORS.length > 0) {
return await postComment();
await postComment();
throw "would not have merged"
}
} catch (error) {
console.error(error);
Expand Down

0 comments on commit 83def55

Please sign in to comment.