Change repo to be private when GHE is private mode.

This commit is contained in:
masarakki 2015-02-13 14:08:30 +09:00
parent 48622ea9f5
commit 8d1015a106

View file

@ -169,6 +169,7 @@ func (r *GitHub) GetRepos(user *model.User) ([]*model.Repo, error) {
if r.Private || repo.Private {
repo.CloneURL = *item.SSHURL
repo.Private = true
}
// if no permissions we should skip the repository