We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a294798 commit 0ab961cCopy full SHA for 0ab961c
commit_linter/__init__.py
@@ -2,6 +2,6 @@
2
__email__ = "[email protected]"
3
4
__license__ = "MIT"
5
-__version__ = "1.0.2"
+__version__ = "1.0.3"
6
__title__ = "Commit Messages Linter"
7
__description__ = "simple git hooks scripts for a better git experience that enforces you to use the known commit messages conventions"
commit_linter/hooks/commit-msg
@@ -35,7 +35,7 @@ def main():
35
sys.exit(1)
36
else:
37
commitPrefix = ss.split(':')[0]
38
- commitPostfix = ss.split(':')[1]
+ commitPostfix = ss.split(':', 1)[1]
39
if '(' in commitPrefix:
40
commitEmojie = emojies.get(commitPrefix.split('(')[0])
41
newCommit = open(filename, 'w')
0 commit comments