Commit 5dadc598 authored by ioedeveloper's avatar ioedeveloper

Check for localhost before return

parent 4fbb0bd8
...@@ -612,10 +612,12 @@ class FileManager extends Plugin { ...@@ -612,10 +612,12 @@ class FileManager extends Plugin {
} }
currentWorkspace () { currentWorkspace () {
const file = this.currentFile() || '' if (this.mode !== 'localhost') {
const provider = this.fileProviderOf(file) const file = this.currentFile() || ''
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