rm unneeded line to check empty path in resolve

pull/5370/head
bunsenstraat 3 years ago
parent 8f6094f49e
commit c043fd98f7
  1. 1
      apps/remix-ide/src/app/files/fileProvider.js

@ -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

Loading…
Cancel
Save