Skip to content

Commit bb7fe4a

Browse files
authored
Update platform.test.ts
1 parent a09ee3b commit bb7fe4a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/platform.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ suite("Platform module", () => {
4646

4747
checkDefaultPowerShellPath(
4848
platformDetails,
49-
platform.getAvailablePowerShellExes(platformDetails, undefined));
49+
"C:\\Program Files\\PowerShell\\6\\pwsh.exe");
5050

5151
checkAvailableWindowsPowerShellPaths(
5252
platformDetails,
@@ -76,7 +76,7 @@ suite("Platform module", () => {
7676

7777
checkDefaultPowerShellPath(
7878
platformDetails,
79-
platform.getAvailablePowerShellExes(platformDetails, undefined));
79+
"C:\\Program Files\\PowerShell\\6\\pwsh.exe");
8080

8181
checkAvailableWindowsPowerShellPaths(
8282
platformDetails,
@@ -106,7 +106,7 @@ suite("Platform module", () => {
106106

107107
checkDefaultPowerShellPath(
108108
platformDetails,
109-
platform.getAvailablePowerShellExes(platformDetails, undefined));
109+
"C:\\Program Files\\PowerShell\\6\\pwsh.exe");
110110

111111
checkAvailableWindowsPowerShellPaths(
112112
platformDetails,

0 commit comments

Comments
 (0)