Don't use a deprecated accessor
This commit is contained in:
@@ -34,7 +34,7 @@ export class Config {
|
|||||||
readonly globalStoragePath: string;
|
readonly globalStoragePath: string;
|
||||||
|
|
||||||
constructor(ctx: vscode.ExtensionContext) {
|
constructor(ctx: vscode.ExtensionContext) {
|
||||||
this.globalStoragePath = ctx.globalStoragePath;
|
this.globalStoragePath = ctx.globalStorageUri.path;
|
||||||
vscode.workspace.onDidChangeConfiguration(this.onDidChangeConfiguration, this, ctx.subscriptions);
|
vscode.workspace.onDidChangeConfiguration(this.onDidChangeConfiguration, this, ctx.subscriptions);
|
||||||
this.refreshLogging();
|
this.refreshLogging();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user