summaryrefslogtreecommitdiff
path: root/app/services/import_export_clean_up_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/import_export_clean_up_service.rb')
-rw-r--r--app/services/import_export_clean_up_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/import_export_clean_up_service.rb b/app/services/import_export_clean_up_service.rb
index 6442406d77e..74088b970c9 100644
--- a/app/services/import_export_clean_up_service.rb
+++ b/app/services/import_export_clean_up_service.rb
@@ -10,7 +10,7 @@ class ImportExportCleanUpService
def execute
Gitlab::Metrics.measure(:import_export_clean_up) do
- return unless File.directory?(path)
+ next unless File.directory?(path)
clean_up_export_files
end