Skip to content

Commit 6ccc253

Browse files
tech4him1verythorough
authored andcommitted
Fix showing success message if PR force-merge fails. (#1016)
1 parent d74087e commit 6ccc253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backends/github/API.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ export default class API {
638638
})
639639
.catch((error) => {
640640
if (error instanceof APIError && error.status === 405) {
641-
this.forceMergePR(pullrequest, objects);
641+
return this.forceMergePR(pullrequest, objects);
642642
} else {
643643
throw error;
644644
}

0 commit comments

Comments
 (0)