fix error message for ea version

This commit is contained in:
Dmitry Shibanov 2021-12-14 17:49:20 +03:00
parent 49b34f3f12
commit 4f4e294286
2 changed files with 2 additions and 2 deletions

2
dist/setup/index.js vendored
View file

@ -13887,7 +13887,7 @@ class MicrosoftDistributions extends base_installer_1.JavaBase {
throw new Error(`Unsupported architecture: ${this.architecture}`);
}
if (!this.stable) {
throw new Error('Unstable versions are not supported');
throw new Error('Early access versions are not supported');
}
const availableVersionsRaw = yield this.getAvailableVersions();
const opts = this.getPlatformOption();

View file

@ -42,7 +42,7 @@ export class MicrosoftDistributions extends JavaBase {
}
if (!this.stable) {
throw new Error('Unstable versions are not supported');
throw new Error('Early access versions are not supported');
}
const availableVersionsRaw = await this.getAvailableVersions();