1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2024-11-24 17:38:52 +00:00

removed some debugging

This commit is contained in:
mahabaleshwars 2024-09-25 17:31:29 +05:30
parent d148396753
commit ba50e5ed8e
2 changed files with 0 additions and 6 deletions

3
dist/setup/index.js vendored
View file

@ -91639,7 +91639,6 @@ function findReleaseFromManifest(semanticVersionSpec, architecture, manifest) {
manifest = yield getManifest(); manifest = yield getManifest();
} }
const foundRelease = yield tc.findFromManifest(semanticVersionSpec, false, manifest, architecture); const foundRelease = yield tc.findFromManifest(semanticVersionSpec, false, manifest, architecture);
core.info(`Found release: ${JSON.stringify(foundRelease)}`);
return foundRelease; return foundRelease;
}); });
} }
@ -91649,7 +91648,6 @@ function getManifest() {
try { try {
const manifestFromRepo = yield getManifestFromRepo(); const manifestFromRepo = yield getManifestFromRepo();
core.info('Successfully fetched the manifest from the repo.'); core.info('Successfully fetched the manifest from the repo.');
core.info(`Manifest from repo: ${JSON.stringify(manifestFromRepo)}`);
validateManifest(manifestFromRepo); validateManifest(manifestFromRepo);
return manifestFromRepo; return manifestFromRepo;
} }
@ -91659,7 +91657,6 @@ function getManifest() {
try { try {
const manifestFromURL = yield getManifestFromURL(); const manifestFromURL = yield getManifestFromURL();
core.info('Successfully fetched the manifest from the URL.'); core.info('Successfully fetched the manifest from the URL.');
core.info(`Manifest from URL: ${JSON.stringify(manifestFromURL)}`);
return manifestFromURL; return manifestFromURL;
} }
catch (err) { catch (err) {

View file

@ -28,7 +28,6 @@ export async function findReleaseFromManifest(
manifest, manifest,
architecture architecture
); );
core.info(`Found release: ${JSON.stringify(foundRelease)}`);
return foundRelease; return foundRelease;
} }
@ -36,7 +35,6 @@ export async function getManifest(): Promise<tc.IToolRelease[]> {
try { try {
const manifestFromRepo = await getManifestFromRepo(); const manifestFromRepo = await getManifestFromRepo();
core.info('Successfully fetched the manifest from the repo.'); core.info('Successfully fetched the manifest from the repo.');
core.info(`Manifest from repo: ${JSON.stringify(manifestFromRepo)}`);
validateManifest(manifestFromRepo); validateManifest(manifestFromRepo);
return manifestFromRepo; return manifestFromRepo;
} catch (err) { } catch (err) {
@ -45,7 +43,6 @@ export async function getManifest(): Promise<tc.IToolRelease[]> {
try { try {
const manifestFromURL = await getManifestFromURL(); const manifestFromURL = await getManifestFromURL();
core.info('Successfully fetched the manifest from the URL.'); core.info('Successfully fetched the manifest from the URL.');
core.info(`Manifest from URL: ${JSON.stringify(manifestFromURL)}`);
return manifestFromURL; return manifestFromURL;
} catch (err) { } catch (err) {
logError('Fetching the manifest via the URL failed.', err); logError('Fetching the manifest via the URL failed.', err);