File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -76,8 +76,7 @@ suite("Platform module", () => {
76
76
77
77
checkDefaultPowerShellPath (
78
78
platformDetails ,
79
- platform . getAvailablePowerShellExes ( platformDetails , undefined ) . filter ( ( psPath ) => ( psPath . versionName )
80
- === "PowerShell Core 6 (x86)" ) [ 0 ] . exePath ) ;
79
+ "C:\\Program Files\\PowerShell\\6\\pwsh.exe" ) ;
81
80
82
81
checkAvailableWindowsPowerShellPaths (
83
82
platformDetails ,
@@ -107,8 +106,7 @@ suite("Platform module", () => {
107
106
108
107
checkDefaultPowerShellPath (
109
108
platformDetails ,
110
- platform . getAvailablePowerShellExes ( platformDetails , undefined ) . filter ( ( psPath ) => ( psPath . versionName )
111
- === "PowerShell Core 6 (x86)" ) [ 0 ] . exePath ) ;
109
+ "C:\\Program Files\\PowerShell\\6\\pwsh.exe" ) ;
112
110
113
111
checkAvailableWindowsPowerShellPaths (
114
112
platformDetails ,
You can’t perform that action at this time.
0 commit comments