Skip to content

Commit 3172771

Browse files
authored
Modify PowerShell test command for debug output
* Update PowerShell command to include debug preference. * Remove un-needed `Invoke-Expression`
1 parent ef46d64 commit 3172771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
cmd /c vendor\init.bat /v /d /t
4949
- name: Testing PowerShell
5050
run: |
51-
PowerShell.exe -ExecutionPolicy Bypass -NoLogo -NoProfile -Command "Invoke-Expression '. ''vendor\profile.ps1'''"
51+
PowerShell.exe -ExecutionPolicy Bypass -NoLogo -NoProfile -Command "$DebugPreference='Continue'; . 'vendor\profile.ps1' 5>&1"
5252
- name: Testing Bash
5353
run: |
5454
bash vendor/cmder.sh

0 commit comments

Comments
 (0)