Commit c39609c0 authored by Robert May's avatar Robert May

Fix rubocop complaint

parent 52e20227
......@@ -24,11 +24,11 @@ module Gitlab
current_group = { commit: commit, lines: [] }
end
if highlight
current_group[:lines] << highlighted_lines[i].html_safe
else
current_group[:lines] << line
end
current_group[:lines] << if highlight
highlighted_lines[i].html_safe
else
line
end
prev_sha = commit.sha
i += 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment