From 3e608eb019ebb7a8c63a62c35196f6eb5fca7700 Mon Sep 17 00:00:00 2001 From: Omer Zidkoni Date: Mon, 11 Sep 2023 14:50:53 +0300 Subject: [PATCH] fix tests --- vcsclient/github.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcsclient/github.go b/vcsclient/github.go index 76141cfb..6b52fc90 100644 --- a/vcsclient/github.go +++ b/vcsclient/github.go @@ -452,7 +452,7 @@ func (client *GitHubClient) AddPullRequestReviewComments(ctx context.Context, ow if _, _, err = ghClient.PullRequests.CreateComment(ctx, owner, repository, pullRequestID, &github.PullRequestComment{ CommitID: &latestCommitSHA, Body: &comment.Content, - StartLine: &comment.NewStartLine, + StartLine: startLine, Line: &comment.NewEndLine, Path: &filePath, }); err != nil {