summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-05-24 16:56:16 -0500
committerDouwe Maan <douwe@selenight.nl>2017-05-24 16:56:16 -0500
commitc27877cab540f51e9932d6f786e8c39bc4260594 (patch)
tree99cde9bfdd01d2d0b252b01377b415875cd08290
parent43b1750892369d579edc7cd4e4ea1f7ac8667e34 (diff)
downloadgitlab-ce-revert-b0498c17.tar.gz
Remove extra spacerevert-b0498c17
-rw-r--r--lib/gitlab/path_regex.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/path_regex.rb b/lib/gitlab/path_regex.rb
index 1ee0f2b3998..1c0abc9f7cf 100644
--- a/lib/gitlab/path_regex.rb
+++ b/lib/gitlab/path_regex.rb
@@ -258,7 +258,7 @@ module Gitlab
def single_line_regexp(regex)
# Turns a multiline extended regexp into a single line one,
# beacuse `rake routes` breaks on multiline regexes.
- Regexp.new(regex.source.gsub(/\(\?#.+?\)/ , '').gsub(/\s*/, ''), regex.options ^ Regexp::EXTENDED).freeze
+ Regexp.new(regex.source.gsub(/\(\?#.+?\)/, '').gsub(/\s*/, ''), regex.options ^ Regexp::EXTENDED).freeze
end
end
end