From d8619e6d5aba04fe134f4cda9fb329b0392264ff Mon Sep 17 00:00:00 2001
From: Aparna Jyothi <aparnajyothi-y@github.com>
Date: Tue, 4 Mar 2025 12:21:43 +0530
Subject: [PATCH] suppress warnings

---
 dist/setup/index.js                                  | 5 -----
 src/distributions/official_builds/official_builds.ts | 5 -----
 2 files changed, 10 deletions(-)

diff --git a/dist/setup/index.js b/dist/setup/index.js
index 61c448f1..bf340c22 100644
--- a/dist/setup/index.js
+++ b/dist/setup/index.js
@@ -100516,10 +100516,6 @@ class OfficialBuilds extends base_distribution_1.default {
                 try {
                     core.info(`Attempting to download using mirror URL...`);
                     downloadPath = yield this.downloadFromMirrorURL(); // Attempt to download from the mirror
-                    core.info('downloadPath from downloadFromMirrorURL() ' + downloadPath);
-                    if (downloadPath) {
-                        const toolPath = downloadPath;
-                    }
                 }
                 catch (err) {
                     core.setFailed(err.message);
@@ -100528,7 +100524,6 @@ class OfficialBuilds extends base_distribution_1.default {
                 }
             }
             else {
-                core.info('No mirror URL found. Falling back to default setup...');
                 core.info('Setup Node.js');
                 let manifest;
                 let nodeJsVersions;
diff --git a/src/distributions/official_builds/official_builds.ts b/src/distributions/official_builds/official_builds.ts
index 1b5bed5c..24db9dd4 100644
--- a/src/distributions/official_builds/official_builds.ts
+++ b/src/distributions/official_builds/official_builds.ts
@@ -21,17 +21,12 @@ export default class OfficialBuilds extends BaseDistribution {
       try {
         core.info(`Attempting to download using mirror URL...`);
         downloadPath = await this.downloadFromMirrorURL(); // Attempt to download from the mirror
-        core.info('downloadPath from downloadFromMirrorURL() ' + downloadPath);
-        if (downloadPath) {
-          const toolPath = downloadPath;
-        }
       } catch (err) {
         core.setFailed((err as Error).message);
         core.setFailed('Download failed');
         core.debug((err as Error).stack ?? 'empty stack');
       }
     } else {
-      core.info('No mirror URL found. Falling back to default setup...');
       core.info('Setup Node.js');
       let manifest: tc.IToolRelease[] | undefined;
       let nodeJsVersions: INodeVersion[] | undefined;