Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-shibanov committed Oct 17, 2022
1 parent bc96748 commit 62fd19c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/setup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down
4 changes: 2 additions & 2 deletions src/setup-python.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down

0 comments on commit 62fd19c

Please sign in to comment.