mirror of
https://github.com/actions/setup-python.git
synced 2025-04-19 19:33:29 +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
@ -88,7 +88,7 @@ export async function useCpythonVersion(
|
||||
const osInfo = await getOSInfo();
|
||||
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}`
|
||||
].join(os.EOL)
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user