Skip to content

Commit

Permalink
Superstar
Browse files Browse the repository at this point in the history
commit-id:1bbad0b7
  • Loading branch information
ejoffe committed Jul 8, 2021
1 parent 3236120 commit 932d8e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion github/githubclient/star.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func (c *client) MaybeStar(ctx context.Context, cfg *config.Config) {
cfg.User.Stargazer = true
rake.LoadSources(cfg.User,
rake.YamlFileWriter(config.UserConfigFilePath()))
fmt.Println("Thank you! Happy Coding!")
}
}
}
Expand Down Expand Up @@ -80,7 +81,8 @@ func (c *client) isStar(ctx context.Context) bool {

iteration++
if iteration > 10 {
panic("too many gazing calls")
// too many stars in the sky
return false
}
}
}
Expand Down

0 comments on commit 932d8e8

Please sign in to comment.