fix error message for ea version
This commit is contained in:
Vendored
+1
-1
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user