From 0802949ecca11d0537a9573886a43028fbf878e2 Mon Sep 17 00:00:00 2001 From: Thomas Boop Date: Thu, 22 Sep 2022 09:52:36 -0400 Subject: [PATCH] fix format --- src/installer.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/installer.ts b/src/installer.ts index 1d1013e..d5911d9 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -116,7 +116,8 @@ export class DotnetCoreInstaller { } // process.env must be explicitly passed in for DOTNET_INSTALL_DIR to be used - const powershellPath = await io.which('pwsh', false) || await io.which('powershell', true); + const powershellPath = + (await io.which('pwsh', false)) || (await io.which('powershell', true)); var options: ExecOptions = { listeners: {