File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -105,10 +105,10 @@ export function getDefaultPowerShellPath(
105
105
? SysWow64PowerShellPath
106
106
: System32PowerShellPath ;
107
107
}
108
- return ! platformDetails . isOS64Bit || platformDetails . isProcess64Bit
109
- ? System32PowerShellPath
110
- : SysnativePowerShellPath ;
111
- } if ( platformDetails . operatingSystem === OperatingSystem . MacOS ) {
108
+ return ! platformDetails . isOS64Bit || platformDetails . isProcess64Bit
109
+ ? System32PowerShellPath
110
+ : SysnativePowerShellPath ;
111
+ } if ( platformDetails . operatingSystem === OperatingSystem . MacOS ) {
112
112
// Always default to the stable version of PowerShell (if installed) but handle case of only Preview installed
113
113
powerShellExePath = macOSExePath ;
114
114
if ( ! fs . existsSync ( macOSExePath ) && fs . existsSync ( macOSPreviewExePath ) ) {
You can’t perform that action at this time.
0 commit comments