mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
Fix migrate_to_s3
rake task, File#close!
is not a valid method.
This commit is contained in:
@ -253,7 +253,7 @@ def migrate_to_s3
|
||||
putc "X"
|
||||
next
|
||||
ensure
|
||||
file.try(:close!) rescue nil
|
||||
file&.close
|
||||
end
|
||||
|
||||
# remap the URL
|
||||
|
Reference in New Issue
Block a user