Commit 00bc0e2577123a87f680eba0372800da64077dcc
1 parent
cecdb0b3
Exists in
master
and in
4 other branches
InlineDiff: small cleaning
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/gitlab/inline_diff.rb
@@ -36,7 +36,7 @@ module Gitlab | @@ -36,7 +36,7 @@ module Gitlab | ||
36 | last_token = first_line[last_the_same_symbols..-1] | 36 | last_token = first_line[last_the_same_symbols..-1] |
37 | 37 | ||
38 | diff_arr[index+1].sub!(/#{last_token}$/, FINISH + last_token) | 38 | diff_arr[index+1].sub!(/#{last_token}$/, FINISH + last_token) |
39 | - diff_arr[index+2].sub!(/#{last_token}$/, FINISH + last_token) | 39 | + diff_arr[index+2].sub!(/#{last_token}$/, FINISH + last_token) |
40 | end | 40 | end |
41 | diff_arr | 41 | diff_arr |
42 | end | 42 | end |