Skip to content

Commit 9c5ca2c

Browse files
authored
Update platform.ts
1 parent aa3f354 commit 9c5ca2c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/platform.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,10 @@ export function getDefaultPowerShellPath(
100100
}
101101

102102
if (use32Bit) {
103-
powerShellExePath =
104103
return platformDetails.isOS64Bit && platformDetails.isProcess64Bit
105104
? SysWow64PowerShellPath
106105
: System32PowerShellPath;
107106
} else {
108-
powerShellExePath =
109107
return !platformDetails.isOS64Bit || platformDetails.isProcess64Bit
110108
? System32PowerShellPath
111109
: SysnativePowerShellPath;

0 commit comments

Comments
 (0)