Skip to content

Commit 934603f

Browse files
committed
lint
1 parent ec0ad41 commit 934603f

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

internal/cmd/combine_prs.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ func CombinePRsWithStats(ctx context.Context, graphQlClient *api.GraphQLClient,
3333
if err != nil {
3434
return nil, nil, "", fmt.Errorf("failed to get SHA of main branch: %w", err)
3535
}
36-
// Delete any pre-existing working branch
36+
// Delete any pre-existing working branch
3737

38-
// Delete any pre-existing working branch
38+
// Delete any pre-existing working branch
3939
err = deleteBranch(ctx, restClient, repo, workingBranchName)
4040
if err != nil {
4141
Logger.Debug("Working branch not found, continuing", "branch", workingBranchName)
4242

43-
// Delete any pre-existing combined branch
43+
// Delete any pre-existing combined branch
4444
}
4545

4646
// Delete any pre-existing combined branch

internal/cmd/root.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ var (
4343

4444
// StatsCollector tracks stats for the CLI run
4545
type StatsCollector struct {
46-
ReposProcessed int
47-
PRsCombined int
46+
ReposProcessed int
47+
PRsCombined int
4848
PRsSkippedMergeConflict int
49-
PRsSkippedCriteria int
50-
PerRepoStats map[string]*RepoStats
51-
CombinedPRLinks []string
52-
StartTime time.Time
53-
EndTime time.Time
49+
PRsSkippedCriteria int
50+
PerRepoStats map[string]*RepoStats
51+
CombinedPRLinks []string
52+
StartTime time.Time
53+
EndTime time.Time
5454
}
5555

5656
type RepoStats struct {
@@ -203,7 +203,7 @@ func runCombine(cmd *cobra.Command, args []string) error {
203203

204204
stats := &StatsCollector{
205205
PerRepoStats: make(map[string]*RepoStats),
206-
StartTime: time.Now(),
206+
StartTime: time.Now(),
207207
}
208208

209209
// Execute combination logic

0 commit comments

Comments
 (0)