From 38387c872eca07aa4d0004a000edb529315ac1ec Mon Sep 17 00:00:00 2001 From: priyagupta108 Date: Wed, 15 Jul 2026 10:36:54 +0530 Subject: [PATCH] Fix lint issue --- dist/setup/index.js | 2 +- src/install-python.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index 18a06b50..e6a90b60 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -98336,7 +98336,7 @@ async function getManifest() { catch (err) { const message = err instanceof Error ? err.message : String(err); // 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() { diff --git a/src/install-python.ts b/src/install-python.ts index ddd7a5cc..c787def7 100644 --- a/src/install-python.ts +++ b/src/install-python.ts @@ -222,7 +222,8 @@ export async function getManifest(): Promise { const message = err instanceof Error ? err.message : String(err); // 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}` + `Failed to fetch the Python versions manifest. The response was empty, truncated, or invalid, and all retries were exhausted. ${message}`, + {cause: err} ); } }