We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc0e83b commit 8e829bdCopy full SHA for 8e829bd
src/platform.ts
@@ -69,7 +69,7 @@ export function getDefaultPowerShellPath(
69
70
// Find the path to powershell.exe based on the current platform
71
// and the user's desire to run the x86 version of PowerShell
72
- if (platformDetails.operatingSystem === OperatingSystem.Windows) {
+ if (platformDetails.operatingSystem === OperatingSystem.Windows) {
73
const psCoreInstallPath =
74
(!platformDetails.isProcess64Bit ? process.env.ProgramW6432 : process.env.ProgramFiles) + "\\PowerShell";
75
if (fs.existsSync(psCoreInstallPath)) {
0 commit comments