Skip to content

Commit

Permalink
fix: await for reaction
Browse files Browse the repository at this point in the history
Signed-off-by: skjnldsv <[email protected]>
  • Loading branch information
skjnldsv committed Feb 20, 2024
1 parent c38e703 commit 4318e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const backport = (task: Task) => new Promise<void>((resolve, reject) => {

// Add a reaction to the comment to indicate that we're processing it
try {
addReaction(octokit, task, Reaction.THUMBS_UP)
await addReaction(octokit, task, Reaction.THUMBS_UP)
} catch (e) {
error(task, `Failed to add reaction to PR: ${e.message}`)
// continue, this is not a fatal error
Expand Down

0 comments on commit 4318e01

Please sign in to comment.