mirror of
https://gitea.com/actions/setup-node.git
synced 2025-08-23 13:03:32 +08:00
Apply requested changes
This commit is contained in:
3
dist/setup/index.js
vendored
3
dist/setup/index.js
vendored
@@ -73569,8 +73569,7 @@ function queryDistForMatch(versionSpec, arch = os_1.default.arch(), nodeVersions
|
||||
}
|
||||
});
|
||||
// get the latest version that matches the version spec
|
||||
let version = evaluateVersions(versions, versionSpec);
|
||||
return version;
|
||||
return evaluateVersions(versions, versionSpec);
|
||||
});
|
||||
}
|
||||
exports.queryDistForMatch = queryDistForMatch;
|
||||
|
@@ -512,8 +512,7 @@ export async function queryDistForMatch(
|
||||
});
|
||||
|
||||
// get the latest version that matches the version spec
|
||||
let version = evaluateVersions(versions, versionSpec);
|
||||
return version;
|
||||
return evaluateVersions(versions, versionSpec);
|
||||
}
|
||||
|
||||
export async function getVersionsFromDist(
|
||||
|
Reference in New Issue
Block a user