lib/pronto/formatter/github_formatter.rb in pronto-0.7.0 vs lib/pronto/formatter/github_formatter.rb in pronto-0.7.1

- old
+ new

@@ -7,11 +7,11 @@ def pretty_name 'GitHub' end - def line_number(message) - message.line.commit_line.position + def line_number(message, _) + message.line.commit_line.position if message.line end end end end