Commit c39609c0 authored by Robert May's avatar Robert May

Fix rubocop complaint

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