Make sure throw works inside a job

This commit is contained in:
Gator96100 2020-09-18 18:51:12 +02:00
commit a5c67ea4e6

View file

@ -209,7 +209,7 @@ build_script:
$TestTime=[System.Environment]::TickCount $TestTime=[System.Environment]::TickCount
ExecWSLCmd "make clean;make V=1" ExecWSLCmd "make clean;make V=1"
#some checks #some checks
if(!(Test-Path "$env:wsl_git_path\client\proxmark3")){ if(!(Test-Path "$env:wsl_git_path\client\proxmark3fail")){
throw "Main file proxmark3 not exists." throw "Main file proxmark3 not exists."
} }