Commit e376e0ed authored by bunsenstraat's avatar bunsenstraat Committed by davidzagi93@gmail.com

rm unneeded line to check empty path in resolve

parent 79ea3719
...@@ -276,7 +276,6 @@ class FileProvider { ...@@ -276,7 +276,6 @@ class FileProvider {
} }
resolveDirectory (path, callback) { resolveDirectory (path, callback) {
if (!path) return callback(null, { [this.type]: {} })
path = this.removePrefix(path) path = this.removePrefix(path)
if (path.indexOf('/') !== 0) path = '/' + 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