mirror of
https://github.com/actions/setup-node.git
synced 2025-12-19 03:52:15 +08:00
minor fix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user