Make sure throw works inside a job
This commit is contained in:
@@ -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."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user