Merge pull request #8243 from microsoft/jureid-patch-2
This commit is contained in:
Коммит
9b398b11d7
|
@ -65,7 +65,7 @@ export function activate(): void {
|
|||
if (packageInfo) {
|
||||
let targetPopulation: TargetPopulation;
|
||||
const userVersion: PackageVersion = new PackageVersion(packageInfo.version);
|
||||
if (userVersion.suffix === "") {
|
||||
if (!userVersion.suffix) {
|
||||
targetPopulation = TargetPopulation.Public;
|
||||
} else if (userVersion.suffix === "insiders") {
|
||||
targetPopulation = TargetPopulation.Insiders;
|
||||
|
|
Загрузка…
Ссылка в новой задаче