Skip to content

Commit

Permalink
fix(regex): escape the closed bracket, closes #85
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasfara committed Aug 18, 2022
1 parent 0b4f03e commit 81fe4c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ private fun createCommitMessage(
#!/usr/bin/env bash
# Regex for conventional commits
conventional_commits_regex="^($typesRegex)(\\($scopesRegex))?!?: .+$"
conventional_commits_regex="^($typesRegex)(\\($scopesRegex\\))?!?: .+$"
# Get the commit message (the parameter we're given is just the path to the
# temporary file which holds the message).
Expand Down

0 comments on commit 81fe4c6

Please sign in to comment.