mirror of
https://github.com/actions/setup-node.git
synced 2025-12-15 01:01:38 +08:00
fix comment
This commit is contained in:
@@ -383,7 +383,7 @@ function evaluateNightlyVersions(
|
||||
}
|
||||
|
||||
if (range) {
|
||||
versions.sort((a, b) => +semver.lt(a, b) * 1 - 0.5);
|
||||
versions.sort((a, b) => +semver.lt(a, b) - 0.5);
|
||||
for (const currentVersion of versions) {
|
||||
const satisfied: boolean = semver.satisfies(
|
||||
currentVersion.replace('-nightly', '-nightly.'),
|
||||
|
||||
Reference in New Issue
Block a user