Skip to content

Commit

Permalink
Apply requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dsame committed Nov 22, 2022
1 parent bced0ae commit f407277
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions dist/setup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73569,8 +73569,7 @@ function queryDistForMatch(versionSpec, arch = os_1.default.arch(), nodeVersions
}
});
// get the latest version that matches the version spec
let version = evaluateVersions(versions, versionSpec);
return version;
return evaluateVersions(versions, versionSpec);
});
}
exports.queryDistForMatch = queryDistForMatch;
Expand Down
3 changes: 1 addition & 2 deletions src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -512,8 +512,7 @@ export async function queryDistForMatch(
});

// get the latest version that matches the version spec
let version = evaluateVersions(versions, versionSpec);
return version;
return evaluateVersions(versions, versionSpec);
}

export async function getVersionsFromDist(
Expand Down

0 comments on commit f407277

Please sign in to comment.