Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

ESLint: use 'const' instead of 'let'

Juerg B883ae4b5e1aa
diff --git a/scripts/update-authors.js b/scripts/update-authors.js
index 4ec0e031..6e5d214f 100755
--- a/scripts/update-authors.js
+++ b/scripts/update-authors.js
@@ -47,7 +47,7 @@ rl.on('line', line => {
const match = line.match(authorRe);
if (!match) return;
- let {author, email} = match.groups;
+ const {author, email} = match.groups;
if (seen.has(email) || excludeEmails.includes(email)) {
return;