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>
This commit is contained in:
Rich Trott 2021-07-18 22:04:10 -07:00 committed by Node.js GitHub Bot
parent 56a7e0aa90
commit 7228640cc6

View File

@ -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,