mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-14 15:16:04 +10:00
Fix broken specs. #3945
This commit is contained in:
@@ -73,7 +73,7 @@ module Gitlab
|
||||
|
||||
# Only update text if line is found. This will prevent
|
||||
# issues with submodules given the line only exists in diff content.
|
||||
line.text = highlighted_line.gsub!(/\A\s/, line_prefix) if line
|
||||
line.text = highlighted_line.gsub!(/\A\s/, line_prefix) if highlighted_line
|
||||
end
|
||||
|
||||
@lines
|
||||
|
||||
Reference in New Issue
Block a user