diff --git a/test/e2e/test.ps1 b/test/e2e/test.ps1 index 0889e83..cec5c5f 100644 --- a/test/e2e/test.ps1 +++ b/test/e2e/test.ps1 @@ -14,7 +14,7 @@ $tests = Get-ChildItem '0*' | ForEach-Object { }; } -$selPath = if ( [System.IO.Path]::Exists("../../../dist/sel.exe") ) { +$selPath = if ( Test-Path "../../../dist/sel.exe" ) { "../../../dist/sel.exe" } else { "../../../dist/sel"