Skip to content

Commit

Permalink
remove leftover debug statements
Browse files Browse the repository at this point in the history
commit-id:86fbc47c
  • Loading branch information
ejoffe committed Oct 13, 2021
1 parent c17a1ad commit a7e6992
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions spr/spr.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,6 @@ func (sd *stackediff) UpdatePullRequests(ctx context.Context) {
// first - rebase all pull requests to master
// then - update all pull requests
for _, pr := range githubInfo.PullRequests {
fmt.Printf("DEBUG 1: UpdatePullReqeust info:%v\n", githubInfo)
fmt.Printf("DEBUG 1: UpdatePullReqeust pr:%v\n", pr)
fmt.Printf("DEBUG 1: UpdatePullReqeust c:%v\n", pr.Commit)
fmt.Printf("DEBUG 1: UpdatePullReqeust prevcommit:%v\n", nil)
sd.github.UpdatePullRequest(ctx, githubInfo, pr, pr.Commit, nil)
}
sd.profiletimer.Step("UpdatePullRequests::ReparentPullRequestsToMaster")
Expand All @@ -126,10 +122,6 @@ func (sd *stackediff) UpdatePullRequests(ctx context.Context) {
if commitIndex > 0 {
prevCommit = &localCommits[commitIndex-1]
}
fmt.Printf("DEBUG 2: UpdatePullReqeust info:%v\n", githubInfo)
fmt.Printf("DEBUG 2: UpdatePullReqeust pr:%v\n", pr)
fmt.Printf("DEBUG 2: UpdatePullReqeust c:%v\n", c)
fmt.Printf("DEBUG 2: UpdatePullReqeust prevcommit:%v\n", prevCommit)
sd.github.UpdatePullRequest(ctx, githubInfo, pr, c, prevCommit)
pr.Commit = c
}
Expand Down

0 comments on commit a7e6992

Please sign in to comment.