diff options
author | Kirill Bulatov <[email protected]> | 2021-05-23 09:54:03 +0100 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2021-05-23 09:54:03 +0100 |
commit | 95c51d8f1df1efdb2e98b7717544a6db8cad14e7 (patch) | |
tree | bbb295b3b64841cde3e3687fa6a32d287096e18a /editors/code | |
parent | 230ed3304a8acc84ffab36dd9e6d0ebc0f4d054d (diff) |
Don't use a deprecated accessor
Diffstat (limited to 'editors/code')
-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 e858f80bc..c9249768d 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.globalStoragePath; | 37 | this.globalStoragePath = ctx.globalStorageUri.path; |
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 | } |