summaryrefslogtreecommitdiff
path: root/lib/gitlab/import_export/shared.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/import_export/shared.rb')
-rw-r--r--lib/gitlab/import_export/shared.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/import_export/shared.rb b/lib/gitlab/import_export/shared.rb
index 09ed4eb568d..f295ab38de0 100644
--- a/lib/gitlab/import_export/shared.rb
+++ b/lib/gitlab/import_export/shared.rb
@@ -90,7 +90,7 @@ module Gitlab
when 'Group'
@exportable.full_path
else
- raise Gitlab::ImportExport::Error.new("Unsupported Exportable Type #{@exportable&.class}")
+ raise Gitlab::ImportExport::Error, "Unsupported Exportable Type #{@exportable&.class}"
end
end