Skip to content

Commit bd8eeb0

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

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
@@ -101,7 +101,7 @@ export function getDefaultPowerShellPath(
101101

102102
if (use32Bit) {
103103
powerShellExePath =
104-
platformDetails.isOS64Bit && platformDetails.isProcess64Bit
104+
return platformDetails.isOS64Bit && platformDetails.isProcess64Bit
105105
? SysWow64PowerShellPath
106106
: System32PowerShellPath;
107107
} else {

0 commit comments

Comments
 (0)