From 97458b29d758efbbc9300b221d9864e1ef1189b2 Mon Sep 17 00:00:00 2001 From: panticmilos Date: Thu, 8 Dec 2022 12:36:43 +0100 Subject: [PATCH] Remove unnecessary default value for arch argument --- dist/setup/index.js | 2 +- src/installer.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index 504e96f..d36d019 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -63479,7 +63479,7 @@ function parseGoVersionFile(versionFilePath) { return contents.trim(); } exports.parseGoVersionFile = parseGoVersionFile; -function resolveStableVersionInput(versionSpec, arch = os_1.default.arch(), platform, manifest) { +function resolveStableVersionInput(versionSpec, arch, platform, manifest) { var _a; return __awaiter(this, void 0, void 0, function* () { const releases = manifest diff --git a/src/installer.ts b/src/installer.ts index f35a2b5..2b0808e 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -375,7 +375,7 @@ export function parseGoVersionFile(versionFilePath: string): string { export async function resolveStableVersionInput( versionSpec: string, - arch = os.arch(), + arch: string, platform: string, manifest: tc.IToolRelease[] | IGoVersion[] ): Promise {