Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit 7df2dd1

Browse files
committed
await comment posting steps
1 parent e7fdfd0 commit 7df2dd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/controllers/v1/jobs.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@ async function NotifyBuildSummary(jobId: string): Promise<any> {
189189

190190
if (prCommentId !== undefined) {
191191
const ghMessage = prepGithubComment(fullDocument, fullJobDashboardUrl, true);
192-
githubCommenter.updateComment(fullDocument.payload, prCommentId, ghMessage);
192+
await githubCommenter.updateComment(fullDocument.payload, prCommentId, ghMessage);
193193
} else {
194194
const ghMessage = prepGithubComment(fullDocument, fullJobDashboardUrl, false);
195-
githubCommenter.postComment(fullDocument.payload, pr, ghMessage);
195+
await githubCommenter.postComment(fullDocument.payload, pr, ghMessage);
196196
}
197197
}
198198
} catch (err) {

0 commit comments

Comments
 (0)