diff --git a/src/installer.ts b/src/installer.ts index 53b2871..9efdb10 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -116,7 +116,7 @@ export class DotnetCoreInstaller { command += ` -ProxyBypassList ${process.env['no_proxy']}`; } - if (this.architecture != ''){ + if (this.architecture != '') { command += ` -Architecture ${this.architecture}`; } diff --git a/src/setup-dotnet.ts b/src/setup-dotnet.ts index 2768ec0..f7fa2eb 100644 --- a/src/setup-dotnet.ts +++ b/src/setup-dotnet.ts @@ -18,7 +18,7 @@ export async function run() { let versions = core.getMultilineInput('dotnet-version'); let architecture = core.getInput('architecture'); - if (!architecture){ + if (!architecture) { architecture = ''; }