Skip to content
Snippets Groups Projects
Commit 48ffec9e authored by James Lopez's avatar James Lopez
Browse files

Update rename_base.rb

parent 3760a7c2
No related branches found
No related tags found
2 merge requests!12073Add RC2 changes to 9-3-stable,!11338Only rename namespaces and projects with an invalid path
Pipeline #
Loading
Loading
@@ -15,7 +15,7 @@ module Gitlab
end
 
def path_patterns
@path_patterns ||= paths.map { |path| ["%/#{path}", "#{path}"] }.flatten
@path_patterns ||= paths.flat_map { |path| ["%/#{path}", path] }
end
 
def rename_path_for_routable(routable)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment