Skip to content

Commit

Permalink
fix: 🐛 fix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
hoopher committed Aug 17, 2023
1 parent a294798 commit 0ab961c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commit_linter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
__email__ = "Unknown@no-email.com"

__license__ = "MIT"
__version__ = "1.0.2"
__version__ = "1.0.3"
__title__ = "Commit Messages Linter"
__description__ = "simple git hooks scripts for a better git experience that enforces you to use the known commit messages conventions"
2 changes: 1 addition & 1 deletion commit_linter/hooks/commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def main():
sys.exit(1)
else:
commitPrefix = ss.split(':')[0]
commitPostfix = ss.split(':')[1]
commitPostfix = ss.split(':', 1)[1]
if '(' in commitPrefix:
commitEmojie = emojies.get(commitPrefix.split('(')[0])
newCommit = open(filename, 'w')
Expand Down

0 comments on commit 0ab961c

Please sign in to comment.