mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 09:42:46 +08:00
Merge pull request #5932 from rekonder/aj_SCI_8943
Add file extensions between inventories export [SCI-8943]
This commit is contained in:
commit
6d4b2c9a9e
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