Skip to content

Commit 059c782

Browse files
Update src/platform.ts
Co-Authored-By: Tyler James Leonhardt <tylerl0706@gmail.com>
1 parent bd8eeb0 commit 059c782

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export function getDefaultPowerShellPath(
106106
: System32PowerShellPath;
107107
} else {
108108
powerShellExePath =
109-
!platformDetails.isOS64Bit || platformDetails.isProcess64Bit
109+
return !platformDetails.isOS64Bit || platformDetails.isProcess64Bit
110110
? System32PowerShellPath
111111
: SysnativePowerShellPath;
112112
}

0 commit comments

Comments
 (0)