Commit 244f0dd8 authored by yann300's avatar yann300

use normalize path to retrieve content

parent 55033938
......@@ -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) {
......
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