Commit 4fbb0bd8 authored by ioedeveloper's avatar ioedeveloper

Get file provider from file

parent 469c3fe3
...@@ -612,11 +612,10 @@ class FileManager extends Plugin { ...@@ -612,11 +612,10 @@ class FileManager extends Plugin {
} }
currentWorkspace () { currentWorkspace () {
if (self._deps) { const file = this.currentFile() || ''
const provider = self._deps.filesProviders.workspace const provider = this.fileProviderOf(file)
return provider.workspace return provider.workspace
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment