Skip to content

Commit

Permalink
chore: go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed Jul 18, 2023
1 parent 2ea7ec8 commit abe8d2a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions actions/prepare_branch.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,11 +245,11 @@ func (ctx PrepareBranch) GetBody(branch, foreword string) (string, error) {
---
### Kubo commits **NOT** included in this release
#### Kubo commits **NOT** included in this release
%s
### Boxo commits **NOT** included in this release
#### Boxo commits **NOT** included in this release
%s`, foreword, kuboCommitsStr, boxoCommitsStr), nil
}
Expand Down
6 changes: 3 additions & 3 deletions github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,9 @@ func (c *Client) GetOrCreatePR(owner, repo, head, base, title, body string, draf

func (c *Client) UpdatePR(pr *github.PullRequest) error {
log.WithFields(log.Fields{
"owner": pr.Base.Repo.Owner.GetLogin(),
"repo": pr.Base.Repo.GetName(),
"number": pr.GetNumber(),
"owner": pr.Base.Repo.Owner.GetLogin(),
"repo": pr.Base.Repo.GetName(),
"number": pr.GetNumber(),
}).Debug("Updating PR...")

_, _, err := c.v3.PullRequests.Edit(context.Background(), pr.Base.Repo.Owner.GetLogin(), pr.Base.Repo.GetName(), pr.GetNumber(), pr)
Expand Down
12 changes: 6 additions & 6 deletions repos/boxo.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package repos

type boxo struct {
Owner string
Repo string
DefaultBranch string
Owner string
Repo string
DefaultBranch string
}

var Boxo = boxo{
Owner: "ipfs",
Repo: "boxo",
DefaultBranch: "main",
Owner: "ipfs",
Repo: "boxo",
DefaultBranch: "main",
}

0 comments on commit abe8d2a

Please sign in to comment.