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 BethGriggs committed Jul 29, 2021
1 parent d16d36f commit e58cf4e
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 e58cf4e

Please sign in to comment.