mirror of
https://github.com/actions/setup-node.git
synced 2025-12-14 00:16:35 +08:00
fix comment
This commit is contained in:
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
@@ -73438,7 +73438,7 @@ function evaluateNightlyVersions(versions, versionSpec) {
|
||||
}
|
||||
}
|
||||
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 = semver.satisfies(currentVersion.replace('-nightly', '-nightly.'), range, { includePrerelease: true });
|
||||
if (satisfied) {
|
||||
|
||||
Reference in New Issue
Block a user