minor fix

This commit is contained in:
Dmitry Shibanov 2022-10-13 16:27:08 +02:00
parent ee9cdf3888
commit 9b82ea39ef
2 changed files with 2 additions and 2 deletions

View file

@ -363,7 +363,7 @@ function evaluateVersions(versions: string[], versionSpec: string): string {
const potential: string = versions[i];
const satisfied: boolean = semver.satisfies(
potential.replace('-nightly', '+nightly.'),
versionSpec.replace('-nightly', '+nightly.')
versionSpec.replace('-nightly', '+nightly')
);
if (satisfied) {
version = potential;