diff --git a/apps/remix-ide/src/app/files/fileManager.js b/apps/remix-ide/src/app/files/fileManager.js index 72ac2972a0..2b5c7dbd04 100644 --- a/apps/remix-ide/src/app/files/fileManager.js +++ b/apps/remix-ide/src/app/files/fileManager.js @@ -58,8 +58,6 @@ class FileManager extends Plugin { } limitPluginScope (path) { - if (!this.currentRequest) return path // no plugin request, path shall not be modified. - if (this.appManager.isRequired(this.currentRequest.from)) return path // caller is a service plugin, path shall not be modified return path.replace(/^\/browser\//, '').replace(/^browser\//, '') // forbids plugin to access the root filesystem }