mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
Fix omnibus-test.ps1
Use Throw instead of Exit to ensure the CI job fails when a command has a non-zero exit code. Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
This commit is contained in:
parent
bcd99943d7
commit
b04760b7f9
1 changed files with 1 additions and 1 deletions
|
@ -9,4 +9,4 @@ Write-Host "+++ Testing $Plan"
|
|||
|
||||
Set-Location test/artifact
|
||||
rake
|
||||
If ($lastexitcode -ne 0) { Exit $lastexitcode }
|
||||
If ($lastexitcode -ne 0) { Throw $lastexitcode }
|
||||
|
|
Loading…
Reference in a new issue