Skip to content

Commit

Permalink
Cleanup logs
Browse files Browse the repository at this point in the history
  • Loading branch information
janekbaraniewski committed Jul 19, 2023
1 parent 1d55334 commit dbd7f20
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions pkg/issue.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ func getRepoBackendConfigurator(backendConfig BackendConfig) (RepositoryBackend,
func StartWorkingOnIssue(config *IssuectlConfig, repositoriesFromArgs []string, issueID IssueID) error {
profile := config.GetProfile(config.GetCurrentProfile())
repositories := []string{}
Log.Infof("profile %v", profile)
for _, repoName := range profile.Repositories {
repositories = append(repositories, string(*repoName))
}
Expand All @@ -73,20 +72,15 @@ func StartWorkingOnIssue(config *IssuectlConfig, repositoriesFromArgs []string,
return err
}

Log.Infof("got backend")

issue, branchName, err := getIssueAndBranchName(config, issueBackend, &profile, issueID)
if err != nil {
return err
}
Log.Infof("got issue")
Log.Infof("Repositories %v", profile.Repositories)
Log.Infof("Repositories merged %v", repositories)

newIssue, err := createAndAddRepositoriesToIssue(config, &profile, issueID, issueDirPath, branchName, issue, repositories)
if err != nil {
return err
}
Log.Infof("got new issue")

if err := config.AddIssue(newIssue); err != nil {
return err
Expand Down

0 comments on commit dbd7f20

Please sign in to comment.