Skip to content

Commit

Permalink
tools: flag README/mailmap mismatches in find-inactive-collaborators
Browse files Browse the repository at this point in the history
PR-URL: #39477
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
  • Loading branch information
Trott authored and targos committed Sep 4, 2021
1 parent c6ccd97 commit a5152a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/find-inactive-collaborators.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a5152a0

Please sign in to comment.