Skip to content

Commit

Permalink
Reduce unnecessary mentions
Browse files Browse the repository at this point in the history
  • Loading branch information
wh201906 committed Apr 4, 2023
1 parent 6b4d566 commit 70b1169
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pullrequest/pullRequestCommentContent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function dco(signed: boolean, committerMap: CommitterMap): string {

if (committersCount > 1 && committerMap && committerMap.signed && committerMap.notSigned) {
text += `**${committerMap.signed.length}** out of **${committerMap.signed.length + committerMap.notSigned.length}** committers have signed the DCO.`
committerMap.signed.forEach(signedCommitter => { text += `<br/>:white_check_mark: @${signedCommitter.name}` })
committerMap.signed.forEach(signedCommitter => { text += `<br/>:white_check_mark: (${signedCommitter.name})[https://github.com/${signedCommitter.name}]` })
committerMap.notSigned.forEach(unsignedCommitter => {
text += `<br/>:x: @${unsignedCommitter.name}`
})
Expand Down Expand Up @@ -78,7 +78,7 @@ function cla(signed: boolean, committerMap: CommitterMap): string {

if (committersCount > 1 && committerMap && committerMap.signed && committerMap.notSigned) {
text += `**${committerMap.signed.length}** out of **${committerMap.signed.length + committerMap.notSigned.length}** committers have signed the CLA.`
committerMap.signed.forEach(signedCommitter => { text += `<br/>:white_check_mark: @${signedCommitter.name}` })
committerMap.signed.forEach(signedCommitter => { text += `<br/>:white_check_mark: (${signedCommitter.name})[https://github.com/${signedCommitter.name}]` })
committerMap.notSigned.forEach(unsignedCommitter => {
text += `<br/>:x: @${unsignedCommitter.name}`
})
Expand Down

0 comments on commit 70b1169

Please sign in to comment.