mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 20:08:26 +00:00
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…
x
Reference in New Issue
Block a user