From 9212180814b8cb33d16f0a693e5ffb1d06fdab1f Mon Sep 17 00:00:00 2001 From: Michael Sverdlov Date: Thu, 10 Oct 2024 19:28:41 +0300 Subject: [PATCH] update deps --- vcsclient/bitbucketserver.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vcsclient/bitbucketserver.go b/vcsclient/bitbucketserver.go index 088d6e5..c3610dc 100644 --- a/vcsclient/bitbucketserver.go +++ b/vcsclient/bitbucketserver.go @@ -512,7 +512,8 @@ func (client *BitbucketServerClient) DeletePullRequestComment(ctx context.Contex break } } - if _, err = bitbucketClient.DeleteComment_2(owner, repository, int64(pullRequestID), int64(commentID), map[string]interface{}{"version": int32(commentVersion)}); err != nil && err != io.EOF { // #nosec G115 + // #nosec G115 + if _, err = bitbucketClient.DeleteComment_2(owner, repository, int64(pullRequestID), int64(commentID), map[string]interface{}{"version": int32(commentVersion)}); err != nil && err != io.EOF { return fmt.Errorf("an error occurred while deleting pull request comment:\n%s", err.Error()) } return nil