Why is the vote counting broken now?
This commit is contained in:
parent
b8413bf448
commit
40b64a43ef
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ func processIssueCommentEvent(event *github.IssueCommentEvent) {
|
|||
|
||||
return
|
||||
} else {
|
||||
commentText := "Votes: (#{reactionCount})/(#{reactionRemainingCount})"
|
||||
commentText := "Votes: (#{reactionCount}) Needed: (#{reactionRemainingCount})"
|
||||
commentText = strings.Replace(commentText, "(#{reactionCount})", strconv.Itoa(reactionCount), 1)
|
||||
commentText = strings.Replace(commentText, "(#{reactionRemainingCount})", strconv.Itoa(reactionCountGoal-reactionCount), 1)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue