diff options
author | Rich Trott <rtrott@gmail.com> | 2021-07-19 08:04:10 +0300 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2021-09-04 16:14:34 +0300 |
commit | a5152a087501fbee90a06cd0585205e97876d6e7 (patch) | |
tree | 9f9056393d70b6f4a7db770e96fcccaf15b0f4ce /tools | |
parent | c6ccd97fe28f2c00dccf65f3532d0a6d75d16fe0 (diff) |
tools: flag README/mailmap mismatches in find-inactive-collaborators
PR-URL: https://github.com/nodejs/node/pull/39477
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/find-inactive-collaborators.mjs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/find-inactive-collaborators.mjs b/tools/find-inactive-collaborators.mjs index c205e931bd8..282a49dc965 100755 --- a/tools/find-inactive-collaborators.mjs +++ b/tools/find-inactive-collaborators.mjs @@ -79,6 +79,9 @@ async function getCollaboratorsFromReadme() { const mailmap = await runGitCommand( `git check-mailmap '${name} <${email}>'` ); + if (mailmap !== `${name} <${email}>`) { + console.log(`README entry for Collaborator does not match mailmap:\n ${name} <${email}> => ${mailmap}`); + } returnedArray.push({ name, email, |