Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
sverdlov93 committed Oct 10, 2024
1 parent cf466eb commit 9212180
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vcsclient/bitbucketserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9212180

Please sign in to comment.