Skip to content

Commit 8e829bd

Browse files
authored
Update platform.ts
1 parent fc0e83b commit 8e829bd

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
@@ -69,7 +69,7 @@ export function getDefaultPowerShellPath(
6969

7070
// Find the path to powershell.exe based on the current platform
7171
// and the user's desire to run the x86 version of PowerShell
72-
if (platformDetails.operatingSystem === OperatingSystem.Windows) {
72+
if (platformDetails.operatingSystem === OperatingSystem.Windows) {
7373
const psCoreInstallPath =
7474
(!platformDetails.isProcess64Bit ? process.env.ProgramW6432 : process.env.ProgramFiles) + "\\PowerShell";
7575
if (fs.existsSync(psCoreInstallPath)) {

0 commit comments

Comments
 (0)