fix tests and update documentation

This commit is contained in:
Dmitry Shibanov 2022-10-23 14:25:50 +02:00
parent 2900876013
commit ca842d5a5e
5 changed files with 50 additions and 91 deletions

6
dist/setup/index.js vendored
View file

@ -73489,10 +73489,10 @@ function getNodejsDistUrl(version) {
if (version.includes('nightly')) {
return 'https://nodejs.org/download/nightly';
}
else if (!prerelease) {
return 'https://nodejs.org/dist';
else if (prerelease) {
return 'https://nodejs.org/download/rc';
}
return 'https://nodejs.org/download/rc';
return 'https://nodejs.org/dist';
}
exports.getNodejsDistUrl = getNodejsDistUrl;
function queryDistForMatch(versionSpec, arch = os_1.default.arch(), nodeVersions) {