1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

remove pull request count from issue count (#694)

This commit is contained in:
Alex Fornuto 2019-10-12 16:51:53 -05:00 committed by Sean Smith
parent 25234e03da
commit 419d43670c

View File

@ -63,7 +63,9 @@ func (repo *GithubRepo) IssueCount() int {
return 0
}
return *repo.RemoteRepo.OpenIssuesCount
issuesLessPulls := *repo.RemoteRepo.OpenIssuesCount - len(repo.PullRequests)
return issuesLessPulls
}
// PullRequestCount returns the total amount of pull requests as an int