From df146341c506a0ac5cf6ac4dab012f13c479ae97 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 24 May 2021 11:52:25 +0300 Subject: fix: can download server binary on windows again Closes #8956 See https://github.com/rust-analyzer/rust-analyzer/pull/8951#issuecomment-846716999 --- editors/code/src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors/code/src') diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index fbb7a556a..d3d6e631a 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts @@ -34,7 +34,7 @@ export class Config { readonly globalStoragePath: string; constructor(ctx: vscode.ExtensionContext) { - this.globalStoragePath = ctx.globalStorageUri.path; + this.globalStoragePath = ctx.globalStorageUri.fsPath; vscode.workspace.onDidChangeConfiguration(this.onDidChangeConfiguration, this, ctx.subscriptions); this.refreshLogging(); } -- cgit v1.2.3