Skip to content

Commit 8ce3b96

Browse files
committed
fix: use powershell.exe instead of pwsh.exe in Wait-ForKeyPress test
1 parent fc0bbe0 commit 8ce3b96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tests/Wait-ForKeyPress.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Describe 'Wait-ForKeyPress' {
44
$command = "function Stop-Transcript {}; `$global:Silent = `$true; . '$scriptPath'; Wait-ForKeyPress"
55
$encodedCommand = [Convert]::ToBase64String([Text.Encoding]::Unicode.GetBytes($command))
66

7-
& (Join-Path $PSHOME 'pwsh.exe') -NoProfile -EncodedCommand $encodedCommand
7+
& powershell.exe -NoProfile -EncodedCommand $encodedCommand
88

99
$LASTEXITCODE | Should -Be 0
1010
}

0 commit comments

Comments
 (0)