modify code where CI unpassed

This commit is contained in:
wemeya 2016-05-13 16:18:48 +08:00
parent 85ce86df1a
commit c5b1b86d89

View File

@ -93,7 +93,7 @@ func getRepoCountByProject(projectName string) int {
if len(projectName) > 0 {
for _, r := range repoList {
if strings.Contains(r, "/") && r[0:strings.LastIndex(r, "/")] == projectName {
resp += 1
resp++
}
}
return resp