Stop rescuing `nil` which is a really bad thing to do.

This commit is contained in:
Guo Xiang Tan 2017-07-05 10:21:52 +09:00
parent 4e8b80c157
commit 02094517e9
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class FileHelper
tmp
ensure
downloaded&.close! rescue nil
downloaded&.close
end
private