aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code/src/config.ts')
-rw-r--r--editors/code/src/config.ts6
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
5export type UpdatesChannel = "stable" | "nightly"; 5export type UpdatesChannel = "stable" | "nightly";
6 6
7export const NIGHTLY_TAG = "nightly"; 7const NIGHTLY_TAG = "nightly";
8 8
9export type RunnableEnvCfg = undefined | Record<string, string> | { mask?: string; env: Record<string, string> }[]; 9export 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}