Skip to content

Commit 37b2e42

Browse files
Use stable instead of released
1 parent 4140303 commit 37b2e42

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

extensions/ql-vscode/src/config.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const DISTRIBUTION_CHANGE_SETTINGS = [
112112
PERSONAL_ACCESS_TOKEN_SETTING,
113113
];
114114

115-
export type CLIChannel = "released" | "nightly";
115+
export type CLIChannel = "stable" | "nightly";
116116

117117
export interface DistributionConfig {
118118
readonly customCodeQlPath?: string;
@@ -283,9 +283,7 @@ export class DistributionConfigListener
283283
}
284284

285285
public get channel(): CLIChannel {
286-
return CLI_CHANNEL_SETTING.getValue() === "nightly"
287-
? "nightly"
288-
: "released";
286+
return CLI_CHANNEL_SETTING.getValue() === "nightly" ? "nightly" : "stable";
289287
}
290288

291289
protected handleDidChangeConfiguration(e: ConfigurationChangeEvent): void {

0 commit comments

Comments
 (0)