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 9ce7243 commit bd01750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vcsclient/bitbucketserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ 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 G105
if _, err = bitbucketClient.DeleteComment_2(owner, repository, int64(pullRequestID), int64(commentID), map[string]interface{}{"version": int32(commentVersion)}); err != nil && err != io.EOF { // #nosec G115
return fmt.Errorf("an error occurred while deleting pull request comment:\n%s", err.Error())
}
return nil
Expand Down

0 comments on commit bd01750

Please sign in to comment.