fix: diff parser skip case on result status error
Some checks failed
build-image / create-empty-commit (push) Successful in 6s
checks / build (push) Failing after 18s

This commit is contained in:
张泊明518370910136 2024-09-30 01:30:30 -04:00
parent dd8dc68eeb
commit e2bf6d3cf1
GPG Key ID: D47306D7062CDA9D

View File

@ -57,6 +57,7 @@ func (*Diff) Run(results []stage.ExecutorResult, confAny any) (
comment += fmt.Sprintf(
"Unexpected executor status: %s.", result.Status,
)
continue
}
for _, output := range caseConf.Outputs {
answer, err := os.ReadFile(output.AnswerPath)