Kill the surviving mutants of the finish moves: the fake's status and refusal, an unreadable epic, and one more split item per finish
This commit is contained in:
@@ -221,7 +221,7 @@ def done_transition(offered: object, key: str, named: str | None) -> str | Failu
|
||||
if len(chosen) == 1:
|
||||
return chosen[0][0]
|
||||
listed = " and ".join(f"{name!r} to {status!r}" for _, name, status in closing)
|
||||
if len(closing) > 1 and not named:
|
||||
if closing and not named:
|
||||
return Failure(f"{key}'s status has more than one transition to a done status, {listed}: name the one to use in `{JIRA_FINISH_TRANSITION}`, in ~/.claude-projects/do-epic/config.toml")
|
||||
if closing:
|
||||
return Failure(f"{key}'s status has no transition called {named!r} to a done status, only {listed}: correct `{JIRA_FINISH_TRANSITION}`, in ~/.claude-projects/do-epic/config.toml")
|
||||
|
||||
Reference in New Issue
Block a user