Stop rescuing `nil` which is a really bad thing to do.
This commit is contained in:
parent
4e8b80c157
commit
02094517e9
|
@ -45,7 +45,7 @@ class FileHelper
|
|||
|
||||
tmp
|
||||
ensure
|
||||
downloaded&.close! rescue nil
|
||||
downloaded&.close
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in New Issue