🌐 AI搜索 & 代理 主页
Skip to content

Commit 25c6a0a

Browse files
Alexander Lisianoitimmywil
authored andcommitted
Build: fix markerPattern and ticketPattern regexes in package.json
Commit messages used to fail the style check if they contained a word starting with "ref", like reformat or reference, in their message body. Close gh-3437 Ref jzaefferer/commitplease#91
1 parent a8816ca commit 25c6a0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"Traversing",
9292
"Wrap"
9393
],
94-
"markerPattern": "^((clos|fix|resolv)(e[sd]|ing))|(refs?)",
95-
"ticketPattern": "^((Closes|Fixes) ([a-zA-Z]{2,}-)[0-9]+)|(Refs? [^#])"
94+
"markerPattern": "^((clos|fix|resolv)(e[sd]|ing))|^(refs?)",
95+
"ticketPattern": "^((Closes|Fixes) ([a-zA-Z]{2,}-)[0-9]+)|^(Refs? [^#])"
9696
}
9797
}

0 commit comments

Comments
 (0)