Don't use a deprecated accessor

This commit is contained in:
Kirill Bulatov 2021-05-23 11:54:03 +03:00
parent 230ed3304a
commit 95c51d8f1d

View file

@ -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();
}