File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ suite("Platform module", () => {
46
46
47
47
checkDefaultPowerShellPath (
48
48
platformDetails ,
49
- platform . getAvailablePowerShellExes ( platformDetails , undefined ) [ 0 ] . versionName ) ;
49
+ platform . getAvailablePowerShellExes ( platformDetails , undefined ) ) ;
50
50
51
51
checkAvailableWindowsPowerShellPaths (
52
52
platformDetails ,
@@ -76,7 +76,7 @@ suite("Platform module", () => {
76
76
77
77
checkDefaultPowerShellPath (
78
78
platformDetails ,
79
- platform . getAvailablePowerShellExes ( platformDetails , undefined ) [ 2 ] . versionName ) ;
79
+ platform . getAvailablePowerShellExes ( platformDetails , undefined ) ) ;
80
80
81
81
checkAvailableWindowsPowerShellPaths (
82
82
platformDetails ,
@@ -106,7 +106,7 @@ suite("Platform module", () => {
106
106
107
107
checkDefaultPowerShellPath (
108
108
platformDetails ,
109
- platform . getAvailablePowerShellExes ( platformDetails , undefined ) [ 1 ] . versionName ) ;
109
+ platform . getAvailablePowerShellExes ( platformDetails , undefined ) ) ;
110
110
111
111
checkAvailableWindowsPowerShellPaths (
112
112
platformDetails ,
You can’t perform that action at this time.
0 commit comments