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 6493fe2 commit 1f0177cCopy full SHA for 1f0177c
commitizen/commands/check.py
@@ -89,7 +89,7 @@ def _get_commits(self):
89
with open(self.commit_msg_file, "r", encoding="utf-8") as commit_file:
90
msg = commit_file.read()
91
# Get commit message from command line (--message)
92
- elif self.commit_msg:
+ elif self.commit_msg is not None:
93
msg = self.commit_msg
94
if msg is not None:
95
msg = self._filter_comments(msg)
0 commit comments