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

Commit 83def55

Browse files
committed
throw error on post comment
1 parent dfcbdf1 commit 83def55

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ export const main = async () => {
6666
}
6767

6868
if (ERRORS.length > 0) {
69-
return await postComment();
69+
await postComment();
70+
throw "would not have merged"
7071
}
7172
} catch (error) {
7273
console.error(error);

0 commit comments

Comments
 (0)