File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -73,12 +73,12 @@ export function getDefaultPowerShellPath(
73
73
if ( platformDetails . operatingSystem === OperatingSystem . Windows ) {
74
74
if ( use32Bit ) {
75
75
psCoreInstallPath =
76
- ( platformDetails . isProcess64Bit ? process . env [ "ProgramFiles(x86)" ] : process . env . ProgramFiles )
76
+ ( platformDetails . isProcess64Bit ? process . env [ "ProgramFiles(x86)" ] : process . env . ProgramFiles )
77
77
+ "\\PowerShell" ;
78
78
} else {
79
79
80
80
psCoreInstallPath =
81
- ( platformDetails . isProcess64Bit ? process . env . ProgramFiles : process . env . ProgramW6432 ) + "\\PowerShell" ;
81
+ ( platformDetails . isProcess64Bit ? process . env . ProgramFiles : process . env . ProgramW6432 ) + "\\PowerShell" ;
82
82
}
83
83
if ( fs . existsSync ( psCoreInstallPath ) ) {
84
84
const arch = platformDetails . isProcess64Bit ? "(x64)" : "(x86)" ;
You can’t perform that action at this time.
0 commit comments