Commit 5dadc598 authored by ioedeveloper's avatar ioedeveloper

Check for localhost before return

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