From 8648e5018397ab6d196fb9ffac987824cf0f0b9f Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 25 Oct 2021 14:15:48 -0700 Subject: [PATCH] tools: fix formatting of warning message in update-authors.js The email already has `<` and `>` surrounding it so adding it results in a misformatted message. PR-URL: https://github.com/nodejs/node/pull/40600 Reviewed-By: Colin Ihrig Reviewed-By: Voltrex Reviewed-By: Luigi Pinca --- tools/update-authors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/update-authors.js b/tools/update-authors.js index 4ba73f28c9adc1..1eae7b61a83be4 100755 --- a/tools/update-authors.js +++ b/tools/update-authors.js @@ -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}`); } });