Skip to content

Commit cef0d77

Browse files
authored
Fix contributor check for editors (#3400)
1 parent 264032d commit cef0d77

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/config/2019.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,8 +519,7 @@
519519
"meyerweb": {
520520
"name": "Eric A. Meyer",
521521
"teams": [
522-
"reviewers",
523-
"editors"
522+
"reviewers"
524523
],
525524
"avatar_url": "939727",
526525
"website": "https://meyerweb.com",

src/tools/generate/get_contributors_diff.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,11 @@ const get_contributors_difference = async (configs, chapter_contributors) => {
134134
if (not_contributed_editors.size > 0 || contributed_editors.size > 0) {
135135
console.log("\n\tEditors");
136136
// Editors are not always listed against a chapter so only list editors not in config
137+
if (not_contributed_editors.size > 0) {
138+
console.log("\t\tRemove(did not contribute, but listed)");
139+
not_contributed_editors.forEach(editor => console.log("\t\t\t### ", editor));
140+
}
141+
// Editors are not always listed against a chapter so only list editors not in config
137142
if (contributed_editors.size > 0) {
138143
console.log("\t\tAdd(contributed, but are not listed)");
139144
contributed_editors.forEach(editor => console.log("\t\t\t### ", editor));

0 commit comments

Comments
 (0)