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 e70271b commit a696b74Copy full SHA for a696b74
commitizen/commands/commit.py
@@ -87,7 +87,7 @@ def _prompt_commit_questions(self) -> str:
87
self.config.settings.get("message_length_limit", None),
88
)
89
90
- if message_length_limit is not None and message_len > message_length_limit:
+ if message_length_limit and message_len > message_length_limit:
91
raise CommitMessageLengthExceededError(
92
f"Length of commit message exceeds limit ({message_len}/{message_length_limit})"
93
0 commit comments