diff options
author | Kirill Bulatov <[email protected]> | 2021-05-23 11:57:04 +0100 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2021-05-23 11:57:04 +0100 |
commit | daedcc2b77187486fde13a2813809b06b2385ac0 (patch) | |
tree | 60b2b267baadbc1be09ac338611c68de59fd0174 /editors/code/src/config.ts | |
parent | 223dbd2187e5b966d192dac9745d47831dccb9b3 (diff) |
More style fixes
Diffstat (limited to 'editors/code/src/config.ts')
-rw-r--r-- | editors/code/src/config.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index c9249768d..fbb7a556a 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts | |||
@@ -4,7 +4,7 @@ import { log } from "./util"; | |||
4 | 4 | ||
5 | export type UpdatesChannel = "stable" | "nightly"; | 5 | export type UpdatesChannel = "stable" | "nightly"; |
6 | 6 | ||
7 | export const NIGHTLY_TAG = "nightly"; | 7 | const NIGHTLY_TAG = "nightly"; |
8 | 8 | ||
9 | export type RunnableEnvCfg = undefined | Record<string, string> | { mask?: string; env: Record<string, string> }[]; | 9 | export type RunnableEnvCfg = undefined | Record<string, string> | { mask?: string; env: Record<string, string> }[]; |
10 | 10 | ||
@@ -170,4 +170,8 @@ export class Config { | |||
170 | gotoTypeDef: this.get<boolean>("hoverActions.gotoTypeDef"), | 170 | gotoTypeDef: this.get<boolean>("hoverActions.gotoTypeDef"), |
171 | }; | 171 | }; |
172 | } | 172 | } |
173 | |||
174 | get currentExtensionIsNightly() { | ||
175 | return this.package.releaseTag === NIGHTLY_TAG; | ||
176 | } | ||
173 | } | 177 | } |