Commit ed86324b authored by bunsenstraat's avatar bunsenstraat

rm unneeded line to check empty path in resolve

parent 90d63c05
......@@ -276,7 +276,6 @@ class FileProvider {
}
resolveDirectory (path, callback) {
if (!path) return callback(null, { [this.type]: {} })
path = this.removePrefix(path)
if (path.indexOf('/') !== 0) path = '/' + path
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment