Missed an argument

This commit is contained in:
Joachim Hill-Grannec 2016-06-13 18:25:31 -05:00
parent 1152e430c4
commit a4d28e39a0

View file

@ -180,7 +180,7 @@ func (c *client) Repo(u *model.User, owner, name string) (*model.Repo, error) {
if item.Name == "http" {
uri, err := url.Parse(item.Href)
if err != nil {
return err
return nil, err
}
uri.User = nil
repo.Clone = uri.String()