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: nodejs#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 nodejs-github-bot committed Oct 26, 2021
1 parent 9ebdba4 commit d4842e6
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 d4842e6

Please sign in to comment.