Skip to content

Commit 011a5a4

Browse files
committed
fix: regex in 'update-authors.js'
1 parent 06f3f63 commit 011a5a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/update-authors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const excludeEmails = [
3838
// `Co-authored-by:` in the message body. Both have been used in the past
3939
// to indicate multiple authors per commit, with the latter standardized
4040
// by GitHub now.
41-
const authorRe = /(^Author:|^Co-authored-by:)\\s+(?<author>[^<]+)\\s+(?<email><[^>]+>)/i;
41+
const authorRe = /(^Author:|^Co-authored-by:)\s+(?<author>[^<]+)\s+(?<email><[^>]+>)/i;
4242

4343
rl.on('line', line => {
4444
const match = line.match(authorRe);

0 commit comments

Comments
 (0)