rm unneeded line to check empty path in resolve

pull/1342/head
bunsenstraat 3 years ago committed by davidzagi93@gmail.com
parent 79ea37194f
commit e376e0edbb
  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