diff --git a/Src/task.ts b/Src/task.ts index 4ba138e..f3c56a6 100644 --- a/Src/task.ts +++ b/Src/task.ts @@ -36,12 +36,13 @@ export class CreatePRCommentTask { let client = await this.factory.create(pat); let commentObject = { - content : comment + content : comment }; let thread : GitInterfaces.GitPullRequestCommentThread = { comments: [ commentObject - ] + ], + status: GitInterfaces.CommentThreadStatus.Active } let repositoryId = tl.getVariable('Build.Repository.ID'); let pullRequestIdString = tl.getVariable('System.PullRequest.PullRequestId');