Skip to content

Commit

Permalink
Move star logic after cli init
Browse files Browse the repository at this point in the history
commit-id:c467125e
  • Loading branch information
ejoffe authored and Eitan Joffe committed Mar 31, 2022
1 parent 54e57eb commit 96cce78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/spr/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ func main() {

ctx := context.Background()
client := githubclient.NewGitHubClient(ctx, cfg)
client.MaybeStar(ctx, cfg)
stackedpr := spr.NewStackedPR(cfg, client, gitcmd)

detailFlag := &cli.BoolFlag{
Expand Down Expand Up @@ -116,6 +115,7 @@ VERSION: {{.Version}}
cfg.User.LogGitCommands = true
cfg.User.LogGitHubCalls = true
}
client.MaybeStar(ctx, cfg)
return nil
},
Commands: []*cli.Command{
Expand Down

0 comments on commit 96cce78

Please sign in to comment.