From 4df65fd3cd59f87d6235e641440a9c0a748fc1c6 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,