fix check

This commit is contained in:
Abhishek Arya 2020-10-24 10:24:27 -07:00
parent 6c790d84da
commit 5649a8370c

View File

@ -51,10 +51,9 @@ func GithubCodeReview(c checker.Checker) checker.CheckResult {
}
}
if totalReviewed == 0 {
return checker.InconclusiveResult
if totalReviewed > 0 {
c.Logf("github code reviews found")
}
c.Logf("github code reviews found")
return checker.ProportionalResult(totalReviewed, totalMerged, .75)
}