diff --git a/dist/setup/index.js b/dist/setup/index.js index 55f73e4e4..5dbf95b86 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -66841,10 +66841,10 @@ function run() { core.info(`resolvedVersionInput[0] is ${resolvedVersionInput[0]}`); const checkLatest = core.getBooleanInput('check-latest'); if (Array.isArray(resolvedVersionInput)) { - versions = resolveVersionInput; + versions = resolvedVersionInput; } else { - versions = [resolveVersionInput]; + versions = [resolvedVersionInput]; } core.info(`versions is ${versions}`); core.info(`versions.length is ${versions.length}`); diff --git a/src/setup-python.ts b/src/setup-python.ts index c658c6538..9833a764e 100644 --- a/src/setup-python.ts +++ b/src/setup-python.ts @@ -83,9 +83,9 @@ async function run() { const checkLatest = core.getBooleanInput('check-latest'); if (Array.isArray(resolvedVersionInput)) { - versions = (resolveVersionInput as unknown) as string[]; + versions = resolvedVersionInput as string[]; } else { - versions = [(resolveVersionInput as unknown) as string]; + versions = [resolvedVersionInput as string]; } core.info(`versions is ${versions}`);