fix comment

This commit is contained in:
Dmitry Shibanov 2022-10-24 11:38:00 +02:00
parent ca842d5a5e
commit 6dfecd47b3
2 changed files with 2 additions and 2 deletions

View file

@ -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.'),