Indent the Jira finish call as its case's other bodies
This commit is contained in:
@@ -117,7 +117,7 @@ def main(argv: list[str], folder: pathlib.Path = pathlib.Path(), stdin: typing.T
|
||||
done = reported(plan.edit(args.id, {"Release": args.release}, None), "not moved", lambda written: f"Moved item {written.id} to release {args.release} in {plan.label}.")
|
||||
case _:
|
||||
# A Jira plan keeps no changelog: the issues' history in Jira says what shipped.
|
||||
done = finish(args, plan, None if config.epic else store(config, "changelog"))
|
||||
done = finish(args, plan, None if config.epic else store(config, "changelog"))
|
||||
if isinstance(done, Failure):
|
||||
print(done.reason, file=sys.stderr)
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user