style(processors/task): remove redundant code
All checks were successful
build / build (pull_request) Successful in 2m27s
build / build (push) Successful in 2m30s

This commit is contained in:
李衍志523370910113 2025-03-02 11:18:18 +08:00
parent 1ddd56b04f
commit 704c10e917

View File

@ -162,15 +162,9 @@ def fix_result_detail(
)
if task_stage.result_detail is not None:
show_files = []
if (
task_stage.result_detail.stdout
and task_stage.result_detail.stdout is not None
):
if task_stage.result_detail.stdout:
show_files.append("stdout")
if (
task_stage.result_detail.stderr
and task_stage.result_detail.stderr is not None
):
if task_stage.result_detail.stderr:
show_files.append("stderr")
result_detail_parser.with_.update(
{