class Pronto::Formatter::GithubPullRequestFormatter

def create_comment(client, sha, body, path, position)

def create_comment(client, sha, body, path, position)
  comment = Github::Comment.new(sha, body, path, position)
  comments = client.pull_comments(sha)
  existing = comments.any? { |c| comment == c }
  client.create_pull_comment(comment) unless existing
end