mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 20:08:26 +00:00
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
|
tmp
|
||||||
ensure
|
ensure
|
||||||
downloaded&.close! rescue nil
|
downloaded&.close
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
Loading…
x
Reference in New Issue
Block a user