Remove unnecessary require for zip download
This commit is contained in:
@ -75,7 +75,6 @@ module_name: File.basename(filename, File.extname(filename)).underscore}
|
|||||||
|
|
||||||
id_file = create_remote_evaluation_mapping
|
id_file = create_remote_evaluation_mapping
|
||||||
|
|
||||||
require 'zip'
|
|
||||||
stringio = Zip::OutputStream.write_buffer do |zio|
|
stringio = Zip::OutputStream.write_buffer do |zio|
|
||||||
@files.each do |file|
|
@files.each do |file|
|
||||||
zio.put_next_entry(if file.path.to_s == ''
|
zio.put_next_entry(if file.path.to_s == ''
|
||||||
|
Reference in New Issue
Block a user