add close files to methods

pull/5370/head
bunsenstraat 3 years ago committed by davidzagi93@gmail.com
parent 5af1148418
commit f75c836214
  1. 2
      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

Loading…
Cancel
Save