Remove unnecessary require for zip download

This commit is contained in:
Sebastian Serth
2021-07-06 09:27:44 +02:00
parent 96aa920c0b
commit 9696fcb06f

View File

@ -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 == ''