Commit 82d0fa8e authored by Douwe Maan's avatar Douwe Maan

Fix

parent 150b4f66
......@@ -7,8 +7,8 @@ module Gitlab
def initialize(diff_lines)
if diff_lines.is_a?(Gitlab::Diff::File)
@diff_file = diff_file
@diff_lines = diff_file.diff_lines
@diff_file = diff_lines
@diff_lines = @diff_file.diff_lines
else
@diff_lines = diff_lines
end
......
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