run formatter

This commit is contained in:
Dmitry Shibanov 2023-04-06 14:28:25 +02:00
parent 99d00d91fb
commit 536c162838
2 changed files with 8 additions and 2 deletions

4
dist/setup/index.js vendored
View File

@ -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;

View File

@ -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