Skip to content
Browse files

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
  • Loading branch information
Alexander Lisianoi authored and timmywil committed Jan 9, 2017
1 parent a8816ca commit 25c6a0a2383dbd3176d9b90b1cbd1d621a9d3107
Showing with 2 additions and 2 deletions.
  1. +2 −2 package.json
@@ -91,7 +91,7 @@
"markerPattern": "^((clos|fix|resolv)(e[sd]|ing))|(refs?)",
"ticketPattern": "^((Closes|Fixes) ([a-zA-Z]{2,}-)[0-9]+)|(Refs? [^#])"
"markerPattern": "^((clos|fix|resolv)(e[sd]|ing))|^(refs?)",
"ticketPattern": "^((Closes|Fixes) ([a-zA-Z]{2,}-)[0-9]+)|^(Refs? [^#])"

0 comments on commit 25c6a0a

Please sign in to comment.
You can’t perform that action at this time.