Skip to content

Commit

Permalink
Bumped version to 0.8.17.
Browse files Browse the repository at this point in the history
  • Loading branch information
wakatara committed May 31, 2022
1 parent 81fa7fc commit c449d90
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions harsh.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func main() {
Name: "Harsh",
Usage: "habit tracking for geeks",
Description: "A simple, minimalist CLI for tracking and understanding habits.",
Version: "0.8.16",
Version: "0.8.17",
Commands: []*cli.Command{
{
Name: "ask",
Expand Down Expand Up @@ -89,13 +89,13 @@ func main() {
color.Bold.Println(date + ":")
for _, habit := range habits {
for _, todo := range todos {
if heading != habit.Heading && habit.Heading == todo.Heading {
color.Bold.Printf("\n" + habit.Heading + "\n")
heading = habit.Heading
}
if habit.Name == todo.Name && todo.Frequency > 0 {
fmt.Printf("%*v", maxHabitNameLength, todo.Name+"\n")
}
if heading != habit.Heading && habit.Heading == todo.Heading {
color.Bold.Printf("\n" + habit.Heading + "\n")
heading = habit.Heading
}
if habit.Name == todo.Name && todo.Frequency > 0 {
fmt.Printf("%*v", maxHabitNameLength, todo.Name+"\n")
}
}
}
}
Expand Down

0 comments on commit c449d90

Please sign in to comment.