Skip to content

Commit

Permalink
fix(scripts@validate-commit-messages): match scope specification
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonGrace2282 authored and NotFish232 committed May 11, 2024
1 parent 260b7df commit 02c1bd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/validate-commit-messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def main():

if (
re.search(
r"^(build|chore|ci|docs|feat|fix|perf|refactor|style|test)(\([a-z]+\))?: .*$",
r"^(build|chore|ci|docs|feat|fix|perf|refactor|style|test)(\([^()\n]+\))?: .*$",
lines[0],
)
is None
Expand Down

0 comments on commit 02c1bd4

Please sign in to comment.