fix error

This commit is contained in:
Unknwon 2015-10-08 22:34:54 -04:00
parent e42d1bd6fe
commit 717e04de1e

View file

@ -72,5 +72,6 @@ func (c *Client) CreateOrgRepo(org string, opt CreateRepoOption) (*Repository, e
// DeleteRepo deletes a repository of user or organization. // DeleteRepo deletes a repository of user or organization.
func (c *Client) DeleteRepo(owner, repo string) error { func (c *Client) DeleteRepo(owner, repo string) error {
return c.getParsedResponse("DELETE", fmt.Sprintf("/repos/%s/%s", owner, repo), nil, nil) _, err := c.getResponse("DELETE", fmt.Sprintf("/repos/%s/%s", owner, repo), nil, nil)
return err
} }