summaryrefslogtreecommitdiff
path: root/lib/tasks/gitlab/seed/group_seed.rake
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks/gitlab/seed/group_seed.rake')
-rw-r--r--lib/tasks/gitlab/seed/group_seed.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/seed/group_seed.rake b/lib/tasks/gitlab/seed/group_seed.rake
index bc705c94422..a9a350fb6c3 100644
--- a/lib/tasks/gitlab/seed/group_seed.rake
+++ b/lib/tasks/gitlab/seed/group_seed.rake
@@ -184,7 +184,7 @@ class GroupSeeder
group = Group.find(group_id)
@resource_count.times do |i|
- _, project_path = PROJECT_URL.split('/')[-2..-1]
+ _, project_path = PROJECT_URL.split('/')[-2..]
project_path.gsub!('.git', '')