mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 13:17:13 +08: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: fe01099a38f791124130d0adc35f755fb0d5a11b