Skip to content

Commit

Permalink
tools: fix formatting of warning message in update-authors.js
Browse files Browse the repository at this point in the history
The email already has `<` and `>` surrounding it so adding it results in
a misformatted message.

PR-URL: #40600
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
Trott authored and BethGriggs committed Nov 25, 2021
1 parent e2114e2 commit 8648e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/update-authors.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ rl.on('line', (line) => {
const duplicate = previousAuthors.get(author);
if (duplicate && !duplicate.includes(email)) {
console.warn('Author name already in AUTHORS file. Possible duplicate:');
console.warn(` ${author} <${email}>`);
console.warn(` ${author} ${email}`);
}
});

Expand Down

0 comments on commit 8648e50

Please sign in to comment.