aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBradley Smith <smithbradley@google.com>2023-05-30 08:17:29 -0700
committerBradley Smith <smithbradley@google.com>2023-05-30 08:17:29 -0700
commitf37726d2268fe61ef1697ecb32963657a45b3964 (patch)
tree02b82a88487b82096fac8ebaee6a2dfc920a60aa
parentd427ec7d2b27b3458dbacbf1514301a93263e55c (diff)
downloadrepohooks-studio-2024.1.1-canary6.tar.gz
Change-Id: I899e6e468f0ce8e15e74ff97adbe8006247d3b83
-rw-r--r--rh/hooks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rh/hooks.py b/rh/hooks.py
index 4932c2f..23cd641 100644
--- a/rh/hooks.py
+++ b/rh/hooks.py
@@ -457,7 +457,7 @@ def check_google_java_format(project, commit, _desc, _diff, options=None):
def check_commit_msg_buganizer_field(project, commit, desc, _diff, options=None):
"""Check the commit message for a 'Bug:' or 'Fixes:' line."""
- regex = r'^(?i)(bug|fixes):'
+ regex = r'(?i)^(bug|fixes):'
check_re = re.compile(regex)
if options.args():