Fix Rubocop offenses
This commit is contained in:
@ -40,7 +40,7 @@ class SubmissionsController < ApplicationController
|
|||||||
# zip .co file
|
# zip .co file
|
||||||
zio.put_next_entry('.co')
|
zio.put_next_entry('.co')
|
||||||
zio.write(File.read(id_file))
|
zio.write(File.read(id_file))
|
||||||
File.delete(id_file) if File.exist?(id_file)
|
FileUtils.rm_rf(id_file)
|
||||||
|
|
||||||
# zip client scripts
|
# zip client scripts
|
||||||
scripts_path = 'app/assets/remote_scripts'
|
scripts_path = 'app/assets/remote_scripts'
|
||||||
|
Reference in New Issue
Block a user