Renato "Lond" Cerqueira 9aba44ea79 Rescue when there's no extension in the remotable (#6358)
* Rescue when there's no extension in the remotable
Sometimes the remotable is pointing to a directory with no file
extension. Maybe it should not be expecting to identify based on
extensions to begin with, but since it's the case, it should be ready
for it.

* Fix codeclimate issue

* Check if filename is nil instead of rescueing exception
Suggestion made in the PR

* Avoid concatenation issue if filename is nil
If filename is nil, extname was undefined

* Invert condition
Address PR comments
2018-03-08 02:25:10 +01:00
..
2017-11-18 00:16:48 +01:00
2017-11-24 02:05:53 +01:00
2018-02-21 23:21:32 +01:00
2018-02-18 03:14:46 +01:00
2017-11-18 00:16:48 +01:00
2017-11-18 00:16:48 +01:00
2017-11-18 00:16:48 +01:00
2017-11-18 00:16:48 +01:00
2017-04-13 13:02:02 +02:00
2017-11-18 00:16:48 +01:00
2018-02-18 03:14:46 +01:00
2017-11-18 00:16:48 +01:00
2017-12-01 16:40:02 +01:00
2017-11-18 00:16:48 +01:00
2018-02-22 00:35:46 +01:00
2018-02-18 03:14:46 +01:00
2018-02-28 06:54:55 +01:00
2017-11-18 00:16:48 +01:00
2017-11-18 00:16:48 +01:00
2017-01-13 03:24:41 +01:00