fix Reporter.Close

This commit is contained in:
Zettat123 2023-04-18 15:24:08 +08:00
parent c69c353d93
commit c08af857d1

View file

@ -184,7 +184,7 @@ func (r *Reporter) Close(lastWords string) error {
Time: timestamppb.Now(),
Content: lastWords,
})
return nil
r.state.StoppedAt = timestamppb.Now()
} else if lastWords != "" {
r.logRows = append(r.logRows, &runnerv1.LogRow{
Time: timestamppb.Now(),