Skip to content

Commit

Permalink
clean up comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Wooddell authored and Christian Wooddell committed Nov 7, 2023
1 parent 8b9a526 commit ba03b39
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/scripts/add_contributor.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ async function processIssue() {
const badgeCheckRegex = new RegExp(`<a href="https://github.com/${contributorName}/[^"]*" title=["“]${badgeType}(["”])?>`, 'i');

if (badgeCheckRegex.test(readmeContent)) {
// TODO: commentAndTagUser
let message = `Hey @${contributorName}, you already have the "${badgeType}" badge! 😄`;
await commentAndTagUser(owner, repo, issueNumber, contributorName, message);
console.log(`The contributor "${contributorName}" already has the "${badgeType}" badge.`);
Expand Down

0 comments on commit ba03b39

Please sign in to comment.