diff --git a/lib/gitlab/import_export/uploads_manager.rb b/lib/gitlab/import_export/uploads_manager.rb index 6499aa41e84..52c41f7b3bd 100644 --- a/lib/gitlab/import_export/uploads_manager.rb +++ b/lib/gitlab/import_export/uploads_manager.rb @@ -72,7 +72,7 @@ module Gitlab @uploads_export_path ||= File.join(@shared.export_path, @relative_export_path) end - def uploader + def uploaders avatar_path = @project.avatar&.upload&.path if @relative_export_path == 'avatar'