From 95c51d8f1df1efdb2e98b7717544a6db8cad14e7 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Sun, 23 May 2021 11:54:03 +0300 Subject: Don't use a deprecated accessor --- editors/code/src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors') diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index e858f80bc..c9249768d 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.globalStoragePath; + this.globalStoragePath = ctx.globalStorageUri.path; vscode.workspace.onDidChangeConfiguration(this.onDidChangeConfiguration, this, ctx.subscriptions); this.refreshLogging(); } -- cgit v1.2.3