diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-05 20:29:50 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-05 20:29:50 +0000 |
commit | 2471b6bc3a318d7303d0556c85940090b6cf6d7a (patch) | |
tree | 07df61a25b0735d96f78bbd754bc7c16b9361926 /editors/code/src/main.ts | |
parent | 8d0f7da2f5f2ae1dc5711005f08fde0007da165b (diff) | |
parent | 49a681404860e98855d8698e94dc1208e07daff4 (diff) |
Merge #3015
3015: vscode: yet another refactor commit r=matklad a=Veetaha
It compiles, it runs in dev extension host, It bundles, it runs when bundled and installed.
Removed 5 lines of code as you like less code, especially TypeScript code)
Co-authored-by: Veetaha <[email protected]>
Diffstat (limited to 'editors/code/src/main.ts')
-rw-r--r-- | editors/code/src/main.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts index efc31b2e2..5efce41f4 100644 --- a/editors/code/src/main.ts +++ b/editors/code/src/main.ts | |||
@@ -6,7 +6,7 @@ import { activateStatusDisplay } from './status_display'; | |||
6 | import { Ctx } from './ctx'; | 6 | import { Ctx } from './ctx'; |
7 | import { activateHighlighting } from './highlighting'; | 7 | import { activateHighlighting } from './highlighting'; |
8 | 8 | ||
9 | let ctx!: Ctx; | 9 | let ctx: Ctx | undefined; |
10 | 10 | ||
11 | export async function activate(context: vscode.ExtensionContext) { | 11 | export async function activate(context: vscode.ExtensionContext) { |
12 | ctx = new Ctx(context); | 12 | ctx = new Ctx(context); |