Do not ask the operator to stop a delivery that is already stopped; say what ends it (issue 1581) #413
@@ -968,7 +968,7 @@ func stalledWords(l stalledLine, o conditions.Observation) (headline, explanatio
|
||||
// merge that delivers its modules ends it — the operator's"): the part that says what ends it.
|
||||
func stoppedNeeds(l stalledLine) string {
|
||||
ends := strings.TrimSpace(strings.TrimPrefix(l.H2, "none:"))
|
||||
ends, _, _ = strings.Cut(ends, " — ")
|
||||
ends, _, _ = strings.Cut(ends, " \\u2014 ")
|
||||
if ends == "" {
|
||||
ends = "a later merge that delivers its modules ends it"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user