lib/pronto/formatter/text_formatter.rb in pronto-0.10.0 vs lib/pronto/formatter/text_formatter.rb in pronto-0.11.0

- old
+ new

@@ -1,10 +1,10 @@ require 'pronto/formatter/text_message_decorator' module Pronto module Formatter class TextFormatter < Base - def format(messages, _, _) + def format(messages, _repo, _patches) messages.map do |message| message_format = config.message_format(self.class.name) message_data = TextMessageDecorator.new(message).to_h (message_format % message_data).strip end