Commit c39609c0 authored by Robert May's avatar Robert May

Fix rubocop complaint

parent 52e20227
......@@ -24,10 +24,10 @@ module Gitlab
current_group = { commit: commit, lines: [] }
end
if highlight
current_group[:lines] << highlighted_lines[i].html_safe
current_group[:lines] << if highlight
highlighted_lines[i].html_safe
else
current_group[:lines] << line
line
end
prev_sha = commit.sha
......
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