diff options
author | wxb1ank <[email protected]> | 2021-05-23 21:33:32 +0100 |
---|---|---|
committer | wxb1ank <[email protected]> | 2021-06-02 17:07:13 +0100 |
commit | 3ca7f61a8d736d8e56f0d413b109e6e6562c0a30 (patch) | |
tree | 8f96da409d488f83db4f9011c8013a09a972d1be /editors/code/src/config.ts | |
parent | 2022cfce44f7c3d82dd354abeb2d40b570fa3ef4 (diff) |
internal: use vscode.FileSystem API in main.ts
Diffstat (limited to 'editors/code/src/config.ts')
-rw-r--r-- | editors/code/src/config.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index d3d6e631a..7200a26f7 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts | |||
@@ -31,10 +31,10 @@ export class Config { | |||
31 | enableProposedApi: boolean | undefined; | 31 | enableProposedApi: boolean | undefined; |
32 | } = vscode.extensions.getExtension(this.extensionId)!.packageJSON; | 32 | } = vscode.extensions.getExtension(this.extensionId)!.packageJSON; |
33 | 33 | ||
34 | readonly globalStoragePath: string; | 34 | readonly globalStorageUri: vscode.Uri; |
35 | 35 | ||
36 | constructor(ctx: vscode.ExtensionContext) { | 36 | constructor(ctx: vscode.ExtensionContext) { |
37 | this.globalStoragePath = ctx.globalStorageUri.fsPath; | 37 | this.globalStorageUri = ctx.globalStorageUri; |
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 | } |