diff options
author | Aleksey Kladov <[email protected]> | 2021-05-24 09:52:25 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-05-24 09:52:25 +0100 |
commit | df146341c506a0ac5cf6ac4dab012f13c479ae97 (patch) | |
tree | 25b8e1f83732116dbc42e8626a3351b287729e72 /editors/code/src | |
parent | 495c9586ec51e0cf9b06397d99ec4f65c55e7a28 (diff) |
fix: can download server binary on windows again
Closes #8956
See https://github.com/rust-analyzer/rust-analyzer/pull/8951#issuecomment-846716999
Diffstat (limited to 'editors/code/src')
-rw-r--r-- | editors/code/src/config.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
34 | readonly globalStoragePath: string; | 34 | readonly globalStoragePath: string; |
35 | 35 | ||
36 | constructor(ctx: vscode.ExtensionContext) { | 36 | constructor(ctx: vscode.ExtensionContext) { |
37 | this.globalStoragePath = ctx.globalStorageUri.path; | 37 | this.globalStoragePath = ctx.globalStorageUri.fsPath; |
38 | vscode.workspace.onDidChangeConfiguration(this.onDidChangeConfiguration, this, ctx.subscriptions); | 38 | vscode.workspace.onDidChangeConfiguration(this.onDidChangeConfiguration, this, ctx.subscriptions); |
39 | this.refreshLogging(); | 39 | this.refreshLogging(); |
40 | } | 40 | } |