diff --git a/dist/setup/index.js b/dist/setup/index.js index 6fc61c52..9bcc0b83 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -124976,7 +124976,7 @@ class SemeruDistribution extends base_installer_1.JavaBase { const availableOptionsMessage = availableOptions ? `\nAvailable versions: ${availableOptions}` : ''; - throw new Error(`Could not find satisfied version for SemVer '${version}'. ${availableOptionsMessage}`); + throw new Error(`Could not find satisfied version for SemVer '${version}'. on your current OS version for ${arch} ${availableOptionsMessage}`); } return resolvedFullVersion; }); diff --git a/src/distributions/semeru/installer.ts b/src/distributions/semeru/installer.ts index 8bcc067a..388ecfc9 100644 --- a/src/distributions/semeru/installer.ts +++ b/src/distributions/semeru/installer.ts @@ -82,7 +82,7 @@ export class SemeruDistribution extends JavaBase { ? `\nAvailable versions: ${availableOptions}` : ''; throw new Error( - `Could not find satisfied version for SemVer '${version}'. ${availableOptionsMessage}` + `Could not find satisfied version for SemVer '${version}'. on your current OS version for ${arch} ${availableOptionsMessage}` ); }