mirror of
https://github.com/actions/setup-go.git
synced 2025-06-27 23:43:43 +00:00
Remove unnecessary default value for arch argument
This commit is contained in:
parent
3eeab9dd6d
commit
97458b29d7
2 changed files with 2 additions and 2 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -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
|
||||
|
|
|
@ -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<string> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue