Skip to content

Commit

Permalink
extra space
Browse files Browse the repository at this point in the history
  • Loading branch information
nfuden committed Nov 13, 2024
1 parent d719978 commit 989c87d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions issuegrabber/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func main() {
Sort: "created",
Direction: "asc",
}
issues, _, err := g.Issues.ListBy Repo(ctx, donorDetails[0], donorDetails[1], opt)
issues, _, err := g.Issues.ListByRepo(ctx, donorDetails[0], donorDetails[1], opt)
if err != nil {
logger.Error(err.Error())
}
Expand All @@ -72,7 +72,6 @@ func main() {
if issue.GetNumber() <= magicNumber {
continue
}


if issue.GetNumber() < maxForNow {

Expand All @@ -91,7 +90,6 @@ func main() {
newTitle := fmt.Sprintf("[Migrated] %s", *issue.Title)
var err error


if issue.GetNumber() == maxForNow {
_, _, err = g.Issues.Edit(ctx, destDetails[0], destDetails[1], issue.GetNumber(), &github.IssueRequest{
Title: &newTitle,
Expand All @@ -105,7 +103,6 @@ func main() {
continue
}


returnedIsh, _, err := g.Issues.Create(ctx, destDetails[0], destDetails[1], &github.IssueRequest{
Title: &newTitle,
Body: &candidateBody,
Expand Down

0 comments on commit 989c87d

Please sign in to comment.