Get file provider from file

pull/974/head
ioedeveloper 4 years ago
parent 469c3fe343
commit 4fbb0bd82b
  1. 5
      apps/remix-ide/src/app/files/fileManager.js

@ -612,12 +612,11 @@ class FileManager extends Plugin {
}
currentWorkspace () {
if (self._deps) {
const provider = self._deps.filesProviders.workspace
const file = this.currentFile() || ''
const provider = this.fileProviderOf(file)
return provider.workspace
}
}
}
module.exports = FileManager

Loading…
Cancel
Save