mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 07:22:14 +00:00
Improve the error message
Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
This commit is contained in:
parent
6c87c81bbd
commit
7c97a81ef3
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ export async function useCpythonVersion(
|
||||||
const osInfo = await getOSInfo();
|
const osInfo = await getOSInfo();
|
||||||
throw new Error(
|
throw new Error(
|
||||||
[
|
[
|
||||||
`Version ${version} with arch ${architecture} not found for ${osInfo}`,
|
`The version '${version}' with architecture '${architecture}' was not found for ${osInfo ? osInfo : 'this operating system'}.`,
|
||||||
`The list of all available versions can be found here: ${installer.MANIFEST_URL}`
|
`The list of all available versions can be found here: ${installer.MANIFEST_URL}`
|
||||||
].join(os.EOL)
|
].join(os.EOL)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue