use normalize path to retrieve content

pull/3094/head
yann300 7 years ago
parent 08453beb66
commit 22f86fe165
  1. 1
      src/app/files/basicReadOnlyExplorer.js

@ -28,6 +28,7 @@ class BasicReadOnlyExplorer {
}
get (path, cb) {
if (this.normalizedNames[path]) path = this.normalizedNames[path] // ensure we actually use the normalized path from here
var unprefixedPath = this.removePrefix(path)
var content = this.files[unprefixedPath]
if (!content) {

Loading…
Cancel
Save