summaryrefslogtreecommitdiff
path: root/lib/gitlab/manifest_import/importer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/manifest_import/importer.rb')
-rw-r--r--lib/gitlab/manifest_import/importer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/manifest_import/importer.rb b/lib/gitlab/manifest_import/importer.rb
index 35b3bb1e0ca..8ffeb0a4143 100644
--- a/lib/gitlab/manifest_import/importer.rb
+++ b/lib/gitlab/manifest_import/importer.rb
@@ -17,7 +17,7 @@ module Gitlab
def import_project
group_full_path, _, project_path = repository[:path].rpartition('/')
- group_full_path = File.join(destination.path, group_full_path) if destination
+ group_full_path = File.join(destination.full_path, group_full_path) if destination
group = Group.find_by_full_path(group_full_path) ||
create_group_with_parents(group_full_path)