From f75c8362144bbc40ede3dd44a4dfd3419ab1b79e Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Mon, 13 Sep 2021 14:58:01 +0200 Subject: [PATCH] add close files to methods --- apps/remix-ide/src/app/files/fileManager.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/remix-ide/src/app/files/fileManager.js b/apps/remix-ide/src/app/files/fileManager.js index 3164390cfe..4ab14ee7c9 100644 --- a/apps/remix-ide/src/app/files/fileManager.js +++ b/apps/remix-ide/src/app/files/fileManager.js @@ -525,6 +525,7 @@ class FileManager extends Plugin { } _setFileInternal (path, content) { + console.log(path, content) const provider = this.fileProviderOf(path) if (!provider) throw createError({ code: 'ENOENT', message: `${path} not available` }) // TODO : Add permission @@ -725,6 +726,7 @@ class FileManager extends Plugin { } syncEditor (path) { + console.log(path) var currentFile = this._deps.config.get('currentFile') console.log(currentFile, path) if (path !== currentFile) return