From 2b53fd0b5de42368523a07a042b71256ee711206 Mon Sep 17 00:00:00 2001 From: Alejandro Menocal Date: Mon, 28 Oct 2024 10:28:46 -0500 Subject: [PATCH] removes unnecesary and verbose logging --- cmd/byRepos.go | 2 -- pkg/sync/sync.go | 2 -- 2 files changed, 4 deletions(-) diff --git a/cmd/byRepos.go b/cmd/byRepos.go index 9cccffa..f8b34e7 100644 --- a/cmd/byRepos.go +++ b/cmd/byRepos.go @@ -5,7 +5,6 @@ package cmd import ( "fmt" - "log" "os" "github.com/mona-actions/gh-migrate-teams/pkg/sync" @@ -54,7 +53,6 @@ var byReposCmd = &cobra.Command{ func init() { - log.Println("byRepos init") syncCmd.AddCommand(byReposCmd) // Here you will define your flags and configuration settings. diff --git a/pkg/sync/sync.go b/pkg/sync/sync.go index e698d0e..b0a3fd0 100644 --- a/pkg/sync/sync.go +++ b/pkg/sync/sync.go @@ -101,10 +101,8 @@ func SyncTeamsByRepo() { for _, team := range teams { // Map members if os.Getenv("GHMT_MAPPING_FILE") != "" { - log.Println("trying to map") team = mapMembers(team) } - log.Println("before create team", team) team.CreateTeam() } createTeamsSpinnerSuccess.Success()