Skip to content

Commit f407277

Browse files
committed
Apply requested changes
1 parent bced0ae commit f407277

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

dist/setup/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73569,8 +73569,7 @@ function queryDistForMatch(versionSpec, arch = os_1.default.arch(), nodeVersions
7356973569
}
7357073570
});
7357173571
// get the latest version that matches the version spec
73572-
let version = evaluateVersions(versions, versionSpec);
73573-
return version;
73572+
return evaluateVersions(versions, versionSpec);
7357473573
});
7357573574
}
7357673575
exports.queryDistForMatch = queryDistForMatch;

src/installer.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,8 +512,7 @@ export async function queryDistForMatch(
512512
});
513513

514514
// get the latest version that matches the version spec
515-
let version = evaluateVersions(versions, versionSpec);
516-
return version;
515+
return evaluateVersions(versions, versionSpec);
517516
}
518517

519518
export async function getVersionsFromDist(

0 commit comments

Comments
 (0)