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:
parent
25234e03da
commit
419d43670c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user