mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FileHelper.download requires a string not a URI. I also found another
instance of using open-uri directly and swapped it out to use
FileHelper.
I also updated it to not `read` a file if it comes back nil.
Follow up to: fe01099a38