mirror of
https://github.com/actions/setup-go.git
synced 2024-11-15 11:54:34 +08:00
Fixed code style issues reported by Prettier
This commit is contained in:
parent
c12ce02684
commit
599dc9e0fa
5
dist/setup/index.js
vendored
5
dist/setup/index.js
vendored
@ -61954,10 +61954,9 @@ function getArch(arch) {
|
|||||||
arch = 'amd64';
|
arch = 'amd64';
|
||||||
break;
|
break;
|
||||||
case 'ppc64':
|
case 'ppc64':
|
||||||
if(endianness=='LE') {
|
if (endianness == 'LE') {
|
||||||
arch = 'ppc64le';
|
arch = 'ppc64le';
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
arch = 'ppc64';
|
arch = 'ppc64';
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -26,11 +26,10 @@ export function getArch(arch: string): string {
|
|||||||
arch = 'amd64';
|
arch = 'amd64';
|
||||||
break;
|
break;
|
||||||
case 'ppc64':
|
case 'ppc64':
|
||||||
if(endianness=='LE') {
|
if (endianness == 'LE') {
|
||||||
arch = 'ppc64le';
|
arch = 'ppc64le';
|
||||||
}
|
} else {
|
||||||
else {
|
arch = 'ppc64';
|
||||||
arch = 'ppc64';
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'x32':
|
case 'x32':
|
||||||
|
Loading…
Reference in New Issue
Block a user