☕️ Classic, reliable, trusted test framework for Node.js and the browser
fix: regex in 'update-authors.js'
Juerg B011a5a43ba45
diff --git a/scripts/update-authors.js b/scripts/update-authors.jsindex 3d996da2..c036c3ed 100755--- a/scripts/update-authors.js+++ b/scripts/update-authors.js@@ -38,7 +38,7 @@ const excludeEmails = [// `Co-authored-by:` in the message body. Both have been used in the past// to indicate multiple authors per commit, with the latter standardized// by GitHub now.-const authorRe = /(^Author:|^Co-authored-by:)\\s+(?<author>[^<]+)\\s+(?<email><[^>]+>)/i;+const authorRe = /(^Author:|^Co-authored-by:)\s+(?<author>[^<]+)\s+(?<email><[^>]+>)/i;rl.on('line', line => {const match = line.match(authorRe);