mirror of
https://github.com/actions/setup-node.git
synced 2025-04-22 17:26:27 +00:00
build dist
This commit is contained in:
parent
bd4ffc78c2
commit
87c4bf1716
1 changed files with 1 additions and 2 deletions
3
dist/setup/index.js
vendored
3
dist/setup/index.js
vendored
|
@ -62339,7 +62339,6 @@ const tc = __importStar(__webpack_require__(533));
|
||||||
const path = __importStar(__webpack_require__(622));
|
const path = __importStar(__webpack_require__(622));
|
||||||
const semver = __importStar(__webpack_require__(280));
|
const semver = __importStar(__webpack_require__(280));
|
||||||
const fs = __webpack_require__(747);
|
const fs = __webpack_require__(747);
|
||||||
const installer = __importStar(__webpack_require__(923));
|
|
||||||
function getNode(versionSpec, stable, checkLatest, auth, arch = os.arch()) {
|
function getNode(versionSpec, stable, checkLatest, auth, arch = os.arch()) {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
// Store manifest data to avoid multiple calls
|
// Store manifest data to avoid multiple calls
|
||||||
|
@ -62587,7 +62586,7 @@ function queryDistForMatch(versionSpec, arch = os.arch()) {
|
||||||
throw new Error(`Unexpected OS '${osPlat}'`);
|
throw new Error(`Unexpected OS '${osPlat}'`);
|
||||||
}
|
}
|
||||||
let versions = [];
|
let versions = [];
|
||||||
let nodeVersions = yield installer.getVersionsFromDist();
|
let nodeVersions = yield getVersionsFromDist();
|
||||||
if (versionSpec === 'current' ||
|
if (versionSpec === 'current' ||
|
||||||
versionSpec === 'latest' ||
|
versionSpec === 'latest' ||
|
||||||
versionSpec === 'node') {
|
versionSpec === 'node') {
|
||||||
|
|
Loading…
Add table
Reference in a new issue