mirror of
https://github.com/actions/setup-python.git
synced 2025-06-29 06:03:49 +00:00
polished the error message
This commit is contained in:
parent
b26f6d02db
commit
32a58a97ef
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ export async function useCpythonVersion(
|
|||
}
|
||||
if (architecture.endsWith('-freethreaded')) {
|
||||
throw new Error(
|
||||
`Invalid architecture '${architecture}'. Use 'freethreaded' flag in the python-version (e.g., '3.13.1t') or - freethreaded: true instead of specifying '-freethreaded' in the architecture`
|
||||
`Invalid architecture '${architecture}'. Use 'freethreaded' flag in the python-version (e.g., '3.13.1t') or use freethreaded: true instead of specifying '-freethreaded' in the architecture`
|
||||
);
|
||||
}
|
||||
core.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue