mirror of
https://github.com/discourse/discourse.git
synced 2026-08-13 06:25:11 -05: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"
|
putc "X"
|
||||||
next
|
next
|
||||||
ensure
|
ensure
|
||||||
file.try(:close!) rescue nil
|
file&.close
|
||||||
end
|
end
|
||||||
|
|
||||||
# remap the URL
|
# remap the URL
|
||||||
|
|||||||
Reference in New Issue
Block a user