mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-09 16:01:30 +08:00
Merge branch 'SCI-3975-team-export' of github.com:biosistemika/scinote-web into SCI-3975-team-export
This commit is contained in:
commit
fa871bf56e
1 changed files with 0 additions and 2 deletions
|
|
@ -7,7 +7,6 @@ module ModelExporters
|
||||||
attr_accessor :assets_to_copy
|
attr_accessor :assets_to_copy
|
||||||
attr_accessor :tiny_mce_assets_to_copy
|
attr_accessor :tiny_mce_assets_to_copy
|
||||||
|
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
@assets_to_copy = []
|
@assets_to_copy = []
|
||||||
@tiny_mce_assets_to_copy = []
|
@tiny_mce_assets_to_copy = []
|
||||||
|
|
@ -21,7 +20,6 @@ module ModelExporters
|
||||||
destination_path = File.join(dir, a.file_name)
|
destination_path = File.join(dir, a.file_name)
|
||||||
|
|
||||||
blob.open do |file|
|
blob.open do |file|
|
||||||
system '/path/to/virus/scanner', file.path
|
|
||||||
FileUtils.cp(file.path, destination_path)
|
FileUtils.cp(file.path, destination_path)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue