1
0
Fork 0
mirror of https://github.com/actions/setup-go synced 2024-12-22 06:12:42 +00:00

Fixed code style issues reported by Prettier

This commit is contained in:
Shahid Shaikh 2023-10-23 05:59:15 +00:00
parent c12ce02684
commit 599dc9e0fa
2 changed files with 6 additions and 8 deletions

5
dist/setup/index.js vendored
View file

@ -61954,10 +61954,9 @@ function getArch(arch) {
arch = 'amd64';
break;
case 'ppc64':
if(endianness=='LE') {
if (endianness == 'LE') {
arch = 'ppc64le';
}
else {
} else {
arch = 'ppc64';
}
break;

View file

@ -26,11 +26,10 @@ export function getArch(arch: string): string {
arch = 'amd64';
break;
case 'ppc64':
if(endianness=='LE') {
arch = 'ppc64le';
}
else {
arch = 'ppc64';
if (endianness == 'LE') {
arch = 'ppc64le';
} else {
arch = 'ppc64';
}
break;
case 'x32':