class Pronto::Formatter::GitFormatter
def new_comment(message, patches)
def new_comment(message, patches) config.logger.log("Creating a comment from message: #{message.inspect}") sha = message.commit_sha body = config.message_format(self.class.name) % message.to_h path = message.path lineno = line_number(message, patches) if message.line Comment.new(sha, body, path, lineno) end