github
bunsenstraat 3 years ago
parent 629b22da24
commit 732f5ee701
  1. 1
      apps/remix-ide/src/app/files/fileProvider.js

@ -288,7 +288,6 @@ class FileProvider {
const absPath = (path === '/' ? '' : path) + '/' + element
ret[absPath.indexOf('/') === 0 ? absPath.substr(1, absPath.length) : absPath] = { isDirectory: (await window.remixFileSystem.statExtended(this.addSlash(absPath))).isDirectory() }
// ^ ret does not accept path starting with '/'
console.log(ret)
}
}
if (cb) cb(null, ret)

Loading…
Cancel
Save