Public release release-7fcdc75d8eaf
Source commit: 7fcdc75d8eaf4dc03b09086568dbb184f903f6a4 Public tree identity: sha256:de9eec9b4e2f4cba2fa32b6ecb4b3424cce793a0f8a969707cc9c4565acdbb4e
This commit is contained in:
parent
2a0f7ded04
commit
f4590ca576
10 changed files with 521 additions and 109 deletions
|
|
@ -1208,10 +1208,12 @@ fn emit_runtime_outcome(
|
|||
)?;
|
||||
}
|
||||
RuntimeContinuationOutcome::Terminal(record) => {
|
||||
let exit_code = record.status_code.unwrap_or(1);
|
||||
apply_runtime_record_with_thread_events(writer, state, record)?;
|
||||
if state.last_task_failed {
|
||||
writer.output("stderr", format!("{}\n", state.command_status))?;
|
||||
}
|
||||
writer.event("exited", json!({ "exitCode": exit_code }))?;
|
||||
writer.event("terminated", json!({}))?;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue