We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50d165a commit d042100Copy full SHA for d042100
src/client/common/application/applicationEnvironment.ts
@@ -88,7 +88,8 @@ export class ApplicationEnvironment implements IApplicationEnvironment {
88
}
89
public get extensionChannel(): Channel {
90
const version = parse(this.packageJson.version);
91
- return !version || version.prerelease.length > 0 ? 'insiders' : 'stable';
+ // Insiders versions are those that end with '-dev' or whose minor versions are odd (even is for stable)
92
+ return !version || version.prerelease.length > 0 || version.minor % 2 == 1 ? 'insiders' : 'stable';
93
94
public get uriScheme(): string {
95
return vscode.env.uriScheme;
0 commit comments