This commit is contained in:
parent
f158e1cab6
commit
ab0786aeb1
|
@ -90,18 +90,6 @@ def convert(repo_conf: Repo, task_conf: Task) -> ResultConfig:
|
|||
if task_stage.result_detail is not None:
|
||||
result_detail_parser.with_.update(task_stage.result_detail)
|
||||
|
||||
if "dummy" in task_stage.parsers:
|
||||
dummy_parser = next(p for p in conf_stage.parsers if p.name == "dummy")
|
||||
if task_stage.dummy is not None:
|
||||
dummy_parser.with_.update(task_stage.dummy)
|
||||
|
||||
if "result-status" in task_stage.parsers:
|
||||
result_status_parser = next(
|
||||
p for p in conf_stage.parsers if p.name == "result-status"
|
||||
)
|
||||
if task_stage.result_status is not None:
|
||||
result_status_parser.with_.update(task_stage.result_status)
|
||||
|
||||
conf_stage = fix_comment(task_stage, conf_stage)
|
||||
conf_stage = fix_keyword(task_stage, conf_stage)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user