mirror of
https://github.com/discourse/discourse.git
synced 2025-09-08 12:06:51 +08:00
Fix migrate_to_s3
rake task, File#close!
is not a valid method.
This commit is contained in:
parent
8e240af3ea
commit
33f4aa2835
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ def migrate_to_s3
|
|||
putc "X"
|
||||
next
|
||||
ensure
|
||||
file.try(:close!) rescue nil
|
||||
file&.close
|
||||
end
|
||||
|
||||
# remap the URL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue