Closed tvdeyen closed 9 years ago
Since Rails asset finder returns nil if the logo cannot be found, but File.exist? takes a String we get a TypeError: no implicit conversion of nil into String for missing logos. This fixes this.
nil
File.exist?
String
TypeError: no implicit conversion of nil into String
The errors in CI are not related to my change. I guess the test setup is broken?
Please merge #79 to fix the test suite. Thanks
Since Rails asset finder returns
nil
if the logo cannot be found, butFile.exist?
takes aString
we get aTypeError: no implicit conversion of nil into String
for missing logos. This fixes this.