Fix rubocop, I18n, cleanup rebase
This commit is contained in:

committed by
Sebastian Serth

parent
2dff81a510
commit
5cc180d0e9
@@ -1,11 +0,0 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module ScoringResultFormatting
|
||||
def format_scoring_results(outputs)
|
||||
outputs.map do |output|
|
||||
output[:message] = t(output[:message], default: render_markdown(output[:message]))
|
||||
output[:filename] = t(output[:filename], default: output[:filename])
|
||||
output
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user