Skip to content

Commit

Permalink
removed debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
anandnilkal committed Jun 17, 2022
1 parent d4c020c commit d2e9e60
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,6 @@ func (c *Client) doRawRequest(req *http.Request, emptyResponse bool) (io.ReadClo
return nil, out
}

fmt.Printf("response: %d", resp.StatusCode)
if emptyResponse || resp.StatusCode == http.StatusNoContent {
resp.Body.Close()
return nil, nil
Expand Down
2 changes: 0 additions & 2 deletions pullrequests.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package bitbucket

import (
"encoding/json"
"fmt"
"net/url"
)

Expand Down Expand Up @@ -101,7 +100,6 @@ func (p *PullRequests) Diff(po *PullRequestsOptions) (interface{}, error) {

func (p *PullRequests) DiffStat(po *PullRequestsOptions) (interface{}, error) {
urlStr := p.c.GetApiBaseURL() + "/repositories/" + po.Owner + "/" + po.RepoSlug + "/pullrequests/" + po.ID + "/diffstat"
fmt.Println("URLString: ", urlStr)
return p.c.execute("GET", urlStr, "")
}

Expand Down

0 comments on commit d2e9e60

Please sign in to comment.