InlineDiff: small cleaning
This commit is contained in:
parent
cecdb0b384
commit
00bc0e2577
|
@ -36,7 +36,7 @@ module Gitlab
|
||||||
last_token = first_line[last_the_same_symbols..-1]
|
last_token = first_line[last_the_same_symbols..-1]
|
||||||
|
|
||||||
diff_arr[index+1].sub!(/#{last_token}$/, FINISH + last_token)
|
diff_arr[index+1].sub!(/#{last_token}$/, FINISH + last_token)
|
||||||
diff_arr[index+2].sub!(/#{last_token}$/, FINISH + last_token)
|
diff_arr[index+2].sub!(/#{last_token}$/, FINISH + last_token)
|
||||||
end
|
end
|
||||||
diff_arr
|
diff_arr
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue