Update rename_base.rb
This commit is contained in:
parent
3760a7c230
commit
48ffec9e74
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue