chore: remove Result from task and step

This commit is contained in:
Jason Song committed 2022-11-25 17:48:47 +08:00
1 parent dd417a3270
commit 0f5aab0c1a
6 files changed
+33 -27

No files matched your search

+1 -1
View File
@@ -148,7 +148,7 @@ func InsertRun(run *Run, jobs []*jobparser.SingleWorkflow) error {
}
run.Index = index
if run.Status == StatusUnknown {
if run.Status.IsUnknown() {
run.Status = StatusWaiting
}