debt - inline remoteAuthority into workbench environment service

This commit is contained in:
Benjamin Pasero
2020-10-07 15:57:19 +02:00
parent 70bd0b4604
commit 3b99352509
59 changed files with 101 additions and 93 deletions

View File

@@ -538,7 +538,7 @@ class MainThreadCustomEditorModel extends Disposable implements ICustomEditorMod
throw new Error('Resource is not untitled');
}
const remoteAuthority = this._environmentService.configuration.remoteAuthority;
const remoteAuthority = this._environmentService.remoteAuthority;
const localResource = toLocalResource(this._editorResource, remoteAuthority, this._pathService.defaultUriScheme);
return this._fileDialogService.pickFileToSave(localResource, options?.availableFileSystems);