mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-24 08:43:13 +08:00
Add file extensions between invetories export [SCI-8943]
This commit is contained in:
parent
c63b7d7a64
commit
6b71b408f0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue