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 faacc87 commit 071e450Copy full SHA for 071e450
commitizen/commands/commit.py
@@ -111,7 +111,7 @@ def _wrap_body(self, message: str) -> str:
111
"body_length_limit", self.config.settings.get("body_length_limit", 0)
112
)
113
# By the contract, body_length_limit is set to 0 for no limit
114
- if body_length_limit <= 0:
+ if not body_length_limit or body_length_limit <= 0:
115
return message
116
117
lines = message.split("\n")
0 commit comments