Skip to content

Commit

Permalink
[TEST]
Browse files Browse the repository at this point in the history
  • Loading branch information
panticmilos committed Apr 4, 2022
1 parent 270c9a0 commit 944dfc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions dist/setup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61317,9 +61317,7 @@ function isLtsAlias(versionSpec) {
}
function getManifest(auth) {
core.debug('Getting manifest from actions/node-versions@main');
let res = tc.getManifestFromRepo('actions', 'node-versions', auth, 'main');
console.log(res, "LOOK HERE");
return res;
return tc.getManifestFromRepo('actions', 'node-versions', auth, 'main');
}
function resolveLtsAliasFromManifest(versionSpec, stable, manifest) {
var _a;
Expand All @@ -61344,7 +61342,6 @@ function getInfoFromManifest(versionSpec, stable, auth, osArch = translateArchTo
if (!manifest) {
core.debug('No manifest cached');
manifest = yield getManifest(auth);
console.log(manifest, "LOOK HERE 2");
}
const rel = yield tc.findFromManifest(versionSpec, stable, manifest, osArch);
if (rel && rel.files.length > 0) {
Expand Down
5 changes: 1 addition & 4 deletions src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,7 @@ function isLtsAlias(versionSpec: string): boolean {

function getManifest(auth: string | undefined): Promise<tc.IToolRelease[]> {
core.debug('Getting manifest from actions/node-versions@main');
let res = tc.getManifestFromRepo('actions', 'node-versions', auth, 'main');
console.log(res, "LOOK HERE");
return res;
return tc.getManifestFromRepo('actions', 'node-versions', auth, 'main');
}

function resolveLtsAliasFromManifest(
Expand Down Expand Up @@ -250,7 +248,6 @@ async function getInfoFromManifest(
if (!manifest) {
core.debug('No manifest cached');
manifest = await getManifest(auth);
console.log(manifest, "LOOK HERE 2");
}

const rel = await tc.findFromManifest(versionSpec, stable, manifest, osArch);
Expand Down

0 comments on commit 944dfc3

Please sign in to comment.