From 599dc9e0fa458a88a1678215ebf9233aac37941c Mon Sep 17 00:00:00 2001 From: Shahid Shaikh Date: Mon, 23 Oct 2023 05:59:15 +0000 Subject: [PATCH] Fixed code style issues reported by Prettier --- dist/setup/index.js | 5 ++--- src/system.ts | 9 ++++----- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index 48e06f5..e9a3bdb 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -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; diff --git a/src/system.ts b/src/system.ts index 07340fd..96d2356 100644 --- a/src/system.ts +++ b/src/system.ts @@ -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':