#8 delete cobra, add micro-config-flag #11

Merged
vtolstov merged 53 commits from kgorbunov/pkgdash:master into master 2024-04-02 22:54:17 +03:00
1 changed files with 3 additions and 1 deletions
Showing only changes of commit cd1cc91f93 - Show all commits

View File

@ -427,7 +427,7 @@ func GetPulls(ctx context.Context, url, owner, repo, token string) ([]*giteaPull
buf, _ := io.ReadAll(rsp.Body)
if buf == nil {
if len(buf) == 0 {
break
}
@ -445,6 +445,8 @@ func GetPulls(ctx context.Context, url, owner, repo, token string) ([]*giteaPull
default:
return nil, fmt.Errorf("unknown error: %s", buf)
}
fmt.Println(len(pullsAll))
}
return pullsAll, nil