dev(ci): fix false positive invalid trailers
This commit is contained in:
parent
481646ca18
commit
2eaa508121
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ representing the current commit being checked against. See
|
|||
(lines
|
||||
;; Scan BODY because invalid trailers won't be in TRAILERS.
|
||||
(save-match-data
|
||||
(and (string-match "\n\\(\n[a-zA-Z-]+:? [^ ][^\n]+\\)+\n*\\'" body)
|
||||
(and (string-match "\n\\(\n[a-zA-Z][a-zA-Z-]*:? [^ ][^\n]+\\)+\n+\\'" body)
|
||||
(split-string (match-string 0 body) "\n" t)))))
|
||||
(dolist (line lines)
|
||||
(unless (string-match-p (concat "^" key-re ":? [^ ]") line)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue