We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 312ca49 commit 56ef1e0Copy full SHA for 56ef1e0
commitizen/exceptions.py
@@ -59,8 +59,7 @@ class ExpectedExit(CommitizenException):
59
exit_code = ExitCode.EXPECTED_EXIT
60
61
def __init__(self, *args: str, **kwargs: Any) -> None:
62
- output_method = kwargs.get("output_method") or out.write
63
- kwargs["output_method"] = output_method
+ kwargs["output_method"] = kwargs.get("output_method") or out.write
64
super().__init__(*args, **kwargs)
65
66
0 commit comments