Commit d6b51c96 authored by yann300's avatar yann300

fix set function

parent 05fa91e0
...@@ -38,7 +38,8 @@ class BasicReadOnlyExplorer { ...@@ -38,7 +38,8 @@ class BasicReadOnlyExplorer {
} }
set (path, content, cb) { set (path, content, cb) {
this.addReadOnly(path, content) var unprefixedPath = this.removePrefix(path)
this.addReadOnly(unprefixedPath, content)
if (cb) cb() if (cb) cb()
return true return true
} }
......
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