Skip to content

Commit

Permalink
removing println
Browse files Browse the repository at this point in the history
  • Loading branch information
antgrutta committed Jul 21, 2023
1 parent dd22f42 commit 8cd4794
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package api

import (
"context"
"fmt"

"github.com/mona-actions/gh-migrate-teams/internal/team"
"github.com/shurcooL/githubv4"
Expand Down Expand Up @@ -51,7 +50,6 @@ var query struct {
}

func newGHClient(token string) *githubv4.Client {
fmt.Println("Using token: ", token)
src := oauth2.StaticTokenSource(&oauth2.Token{AccessToken: token})
httpClient := oauth2.NewClient(context.Background(), src)

Expand Down
3 changes: 3 additions & 0 deletions pkg/export/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package export

import (
"encoding/csv"
"fmt"
"os"

"github.com/mona-actions/gh-migrate-teams/internal/api"
Expand All @@ -14,6 +15,8 @@ func CreateCSVs() {
var teams []team.Team
teams = api.GetSourceOrganizationTeams()

fmt.Println("Found", len(teams), "teams")

// Create Membership CSV
createMembershipCSV(teams)

Expand Down

0 comments on commit 8cd4794

Please sign in to comment.