Skip to content

Commit bd4d253

Browse files
committed
forgot to save
1 parent e888473 commit bd4d253

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

internal/github/contributions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ type LongestContributionStreak struct {
232232

233233
func (c LongestContributionStreak) String() string {
234234
startAt := c.StartedAt.Format("2006-01-02")
235-
msg := fmt.Sprintf("longest contribution streak")
235+
msg := "longest contribution streak"
236236

237237
if c.EndedAt.IsZero() {
238238
return fmt.Sprintf("%s\nstreak: %d days\nstarted at: %s", msg, c.Streak, startAt)

internal/github/repositories.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type LastRepo struct {
2020
func (c LastRepo) String() string {
2121
msg := fmt.Sprintf("\nThe last repo updated \n\n **%v** \n \t %v \n %v \n Created At: %s \n Updated At: %s", c.Name, c.Description, c.URL, c.CreatedAt.Format("2006-01-02"), c.UpdatedAt.Format("2006-01-02"))
2222
if len(c.Name) == 0 {
23-
msg = fmt.Sprintf("Could not find a repository")
23+
msg = "Could not find a repository"
2424
}
2525

2626
return msg

0 commit comments

Comments
 (0)