es-analysis/plato — pull request #104 by victor-homyakov (2014-07-24 15:46:13+00:00)
Title: Fixes #97 - empty base path when scanning folder

When scanning folder, `files` will have single entry with path to that folder. So when `files.length === 1` and file name ends with directory separator, we'll return that name instead of empty string.