polished the error message

This commit is contained in:
Aparna Jyothi 2025-06-05 18:36:20 +05:30
parent b26f6d02db
commit 32a58a97ef
2 changed files with 2 additions and 2 deletions

View file

@ -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}`);