mirror of
https://gitea.com/actions/setup-node.git
synced 2025-08-23 21:13:27 +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
|
// get the latest version that matches the version spec
|
||||||
let version = evaluateVersions(versions, versionSpec);
|
return evaluateVersions(versions, versionSpec);
|
||||||
return version;
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
exports.queryDistForMatch = queryDistForMatch;
|
exports.queryDistForMatch = queryDistForMatch;
|
||||||
|
@@ -512,8 +512,7 @@ export async function queryDistForMatch(
|
|||||||
});
|
});
|
||||||
|
|
||||||
// get the latest version that matches the version spec
|
// get the latest version that matches the version spec
|
||||||
let version = evaluateVersions(versions, versionSpec);
|
return evaluateVersions(versions, versionSpec);
|
||||||
return version;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function getVersionsFromDist(
|
export async function getVersionsFromDist(
|
||||||
|
Reference in New Issue
Block a user