Skip to content

Commit

Permalink
remove bots from contributors list
Browse files Browse the repository at this point in the history
Fixes #85
  • Loading branch information
jnurthen committed May 24, 2022
1 parent d3c76b2 commit e8ea281
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions script/utility.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ function addPlatformMaintainers() {
if (node.textContent.trim() == "Authors:") node.textContent = "Platform Mapping Maintainers:";
})
}
function fixContributors() {
document.querySelectorAll("#gh-contributors li a").forEach(function(node){
if (node.textContent.indexOf("[bot]") > 0) node.parentElement.parentElement.removeChild(node.parentElement);
})
}

0 comments on commit e8ea281

Please sign in to comment.