diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-05-24 16:56:16 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-05-24 16:56:16 -0500 |
commit | c27877cab540f51e9932d6f786e8c39bc4260594 (patch) | |
tree | 99cde9bfdd01d2d0b252b01377b415875cd08290 /lib | |
parent | 43b1750892369d579edc7cd4e4ea1f7ac8667e34 (diff) | |
download | gitlab-ce-c27877cab540f51e9932d6f786e8c39bc4260594.tar.gz |
Remove extra spacerevert-b0498c17
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/path_regex.rb | 2 |
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 |