From 46d871020fa86f6d787ed26f4812bd910db16270 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 1 Feb 2018 16:50:03 +0100 Subject: [PATCH] fix set function --- src/app/files/basicReadOnlyExplorer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/files/basicReadOnlyExplorer.js b/src/app/files/basicReadOnlyExplorer.js index 3ed56dcd23..c9c00ac00e 100644 --- a/src/app/files/basicReadOnlyExplorer.js +++ b/src/app/files/basicReadOnlyExplorer.js @@ -38,7 +38,8 @@ class BasicReadOnlyExplorer { } set (path, content, cb) { - this.addReadOnly(path, content) + var unprefixedPath = this.removePrefix(path) + this.addReadOnly(unprefixedPath, content) if (cb) cb() return true }