Fix lint issue

This commit is contained in:
priyagupta108 2026-07-15 10:36:54 +05:30
parent f8ae54f808
commit 38387c872e
2 changed files with 3 additions and 2 deletions

2
dist/setup/index.js vendored
View file

@ -98336,7 +98336,7 @@ async function getManifest() {
catch (err) { catch (err) {
const message = err instanceof Error ? err.message : String(err); const message = err instanceof Error ? err.message : String(err);
// Fail loudly so the action doesn't exit 0 without installing Python. // Fail loudly so the action doesn't exit 0 without installing Python.
throw new Error(`Failed to fetch the Python versions manifest. The response was empty, truncated, or invalid, and all retries were exhausted. ${message}`); throw new Error(`Failed to fetch the Python versions manifest. The response was empty, truncated, or invalid, and all retries were exhausted. ${message}`, { cause: err });
} }
} }
function install_python_getManifestFromRepo() { function install_python_getManifestFromRepo() {

View file

@ -222,7 +222,8 @@ export async function getManifest(): Promise<tc.IToolRelease[]> {
const message = err instanceof Error ? err.message : String(err); const message = err instanceof Error ? err.message : String(err);
// Fail loudly so the action doesn't exit 0 without installing Python. // Fail loudly so the action doesn't exit 0 without installing Python.
throw new Error( throw new Error(
`Failed to fetch the Python versions manifest. The response was empty, truncated, or invalid, and all retries were exhausted. ${message}` `Failed to fetch the Python versions manifest. The response was empty, truncated, or invalid, and all retries were exhausted. ${message}`,
{cause: err}
); );
} }
} }