From 536c162838f2d0b94328e61078a14be6f657d751 Mon Sep 17 00:00:00 2001
From: Dmitry Shibanov <shibanov-1997@inbox.ru>
Date: Thu, 6 Apr 2023 14:28:25 +0200
Subject: [PATCH] run formatter

---
 dist/setup/index.js                    | 4 +++-
 src/distributions/base-distribution.ts | 6 +++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dist/setup/index.js b/dist/setup/index.js
index 32d4ff9a..a4ee1bca 100644
--- a/dist/setup/index.js
+++ b/dist/setup/index.js
@@ -73441,7 +73441,9 @@ class BaseDistribution {
                 downloadPath = yield tc.downloadTool(info.downloadUrl);
             }
             catch (err) {
-                if (err instanceof tc.HTTPError && err.httpStatusCode == 404 && this.osPlat == 'win32') {
+                if (err instanceof tc.HTTPError &&
+                    err.httpStatusCode == 404 &&
+                    this.osPlat == 'win32') {
                     return yield this.acquireWindowsNodeFromFallbackLocation(info.resolvedVersion, info.arch);
                 }
                 throw err;
diff --git a/src/distributions/base-distribution.ts b/src/distributions/base-distribution.ts
index 4a82bac7..f7face13 100644
--- a/src/distributions/base-distribution.ts
+++ b/src/distributions/base-distribution.ts
@@ -127,7 +127,11 @@ export default abstract class BaseDistribution {
     try {
       downloadPath = await tc.downloadTool(info.downloadUrl);
     } catch (err) {
-      if (err instanceof tc.HTTPError && err.httpStatusCode == 404 && this.osPlat == 'win32') {
+      if (
+        err instanceof tc.HTTPError &&
+        err.httpStatusCode == 404 &&
+        this.osPlat == 'win32'
+      ) {
         return await this.acquireWindowsNodeFromFallbackLocation(
           info.resolvedVersion,
           info.arch