Commit 3f70316c authored by Nihad Abbasov's avatar Nihad Abbasov

fix elsif statement

parent b78f6581
...@@ -13,10 +13,8 @@ ...@@ -13,10 +13,8 @@
= diff_line(line, line_new, line_old) = diff_line(line, line_new, line_old)
- if line[0] == "+" - if line[0] == "+"
- line_new += 1 - line_new += 1
- elsif - elsif line[0] == "-"
- line[0] == "-"
- line_old += 1 - line_old += 1
- else - else
- line_new += 1 - line_new += 1
- line_old += 1 - line_old += 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