Remove unneded argument

This commit is contained in:
Vitalii Elenhaupt 2018-12-15 22:16:40 +02:00
parent 60ce034f1b
commit 1d96319506
No known key found for this signature in database
GPG key ID: 7558EF3A4056C706

View file

@ -19,8 +19,8 @@ module Ameba::Formatter
end
# Reports a message when inspection is finished.
def finished(sources, break_line = "\n\n")
output << break_line
def finished(sources)
output << "\n\n"
show_affected_code = !config[:without_affected_code]?
failed_sources = sources.reject &.valid?