From e58cf4e44c6a4e78b47d9ae7a49367f6fdc622d6 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 18 Jul 2021 22:04:10 -0700 Subject: [PATCH] tools: flag README/mailmap mismatches in find-inactive-collaborators MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/39477 Reviewed-By: James M Snell Reviewed-By: Michaël Zasso Reviewed-By: Luigi Pinca Reviewed-By: Tobias Nießen --- tools/find-inactive-collaborators.mjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/find-inactive-collaborators.mjs b/tools/find-inactive-collaborators.mjs index c205e931bd87b0..282a49dc965308 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,