Fix `migrate_to_s3` rake task, `File#close!` is not a valid method.
This commit is contained in:
parent
8e240af3ea
commit
33f4aa2835
|
@ -253,7 +253,7 @@ def migrate_to_s3
|
|||
putc "X"
|
||||
next
|
||||
ensure
|
||||
file.try(:close!) rescue nil
|
||||
file&.close
|
||||
end
|
||||
|
||||
# remap the URL
|
||||
|
|
Loading…
Reference in New Issue