Skip to content

Commit 3781100

Browse files
committed
Fix line counting of commit message hook
The parenthesis was accidentally deleted in the previous commit. Change-Id: I8938e339057335d1604f535d3695ffd242bb8e92
1 parent 0b6f831 commit 3781100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/commit-msg.hook

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ build_commit_trailer_regex() {
208208
TRAILER_REGEX+="$each|"
209209
done
210210
# Remove the trailing pipe, then add a separator and blank space pattern.
211-
TRAILER_REGEX="${TRAILER_REGEX%|})[$separators][[:blank:]]*"
211+
TRAILER_REGEX="${TRAILER_REGEX%|})[$separators][[:blank:]]*)"
212212
fi
213213

214214
# Append standalone trailer keys.

0 commit comments

Comments
 (0)