lib/pronto/formatter/github_formatter.rb in pronto-0.1.7 vs lib/pronto/formatter/github_formatter.rb in pronto-0.2.0
- old
+ new
@@ -4,10 +4,10 @@
module Formatter
class GithubFormatter
def format(messages)
commit_messages = messages.map do |message|
repo = github_slug(message)
- sha = message.line.commit_sha
+ sha = message.commit_sha
position = message.line.commit_line.position
path = message.path
body = message.msg
create_comment(repo, sha, position, path, body)