fix set function

pull/3094/head
yann300 7 years ago
parent 975eaac853
commit 46d871020f
  1. 3
      src/app/files/basicReadOnlyExplorer.js

@ -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
} }

Loading…
Cancel
Save