More style fixes

This commit is contained in:
Kirill Bulatov 2021-05-23 13:57:04 +03:00
parent 223dbd2187
commit daedcc2b77
2 changed files with 19 additions and 16 deletions

View file

@ -4,7 +4,7 @@ import { log } from "./util";
export type UpdatesChannel = "stable" | "nightly";
export const NIGHTLY_TAG = "nightly";
const NIGHTLY_TAG = "nightly";
export type RunnableEnvCfg = undefined | Record<string, string> | { mask?: string; env: Record<string, string> }[];
@ -170,4 +170,8 @@ export class Config {
gotoTypeDef: this.get<boolean>("hoverActions.gotoTypeDef"),
};
}
get currentExtensionIsNightly() {
return this.package.releaseTag === NIGHTLY_TAG;
}
}