From 6b71b408f0993f06317b6b6bd57b2162f750db8b Mon Sep 17 00:00:00 2001 From: Andrej Date: Tue, 8 Aug 2023 10:56:23 +0200 Subject: [PATCH] Add file extensions between invetories export [SCI-8943] --- app/jobs/repositories_export_job.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/jobs/repositories_export_job.rb b/app/jobs/repositories_export_job.rb index 35bdcf601..9948b55af 100644 --- a/app/jobs/repositories_export_job.rb +++ b/app/jobs/repositories_export_job.rb @@ -76,8 +76,8 @@ class RepositoriesExportJob < ApplicationJob end def append_file_suffix(file_name, suffix) - file_name = to_filesystem_name(file_name) ext = File.extname(file_name) + file_name = to_filesystem_name(file_name) File.basename(file_name, ext) + suffix + ext end