BigW Consortium Gitlab

Commit 3b67af69 by Mike Greiling

fix build failures

parent c89d9e74
......@@ -15,7 +15,9 @@
%a.click-to-expand
Click to expand it.
- elsif diff_file.diff_lines.length > 0
- total_lines = blob.lines.last.chomp == '' ? blob.lines.size - 1 : blob.lines.size
- total_lines = 0
- if blob.lines.any?
- total_lines = blob.lines.last.chomp == '' ? blob.lines.size - 1 : blob.lines.size
- if diff_view == :parallel
= render "projects/diffs/parallel_view", diff_file: diff_file, total_lines: total_lines
- else
......
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