Skip to content

Commit 11efd50

Browse files
Merge pull request #71 from DylanDevelops/ravel/fix-seg-fault-error-on-status
fix: Running `tmpo status` when milestone doesn't exist throws a segmentation fault
2 parents f59fdd1 + 59f592f commit 11efd50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/tracking/status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func StatusCmd() *cobra.Command {
5252
ui.PrintInfo(4, ui.Bold("Description"), running.Description)
5353
}
5454

55-
if *running.MilestoneName != "" {
55+
if running.MilestoneName != nil && *running.MilestoneName != "" {
5656
ui.PrintInfo(4, ui.Bold("Milestone"), *running.MilestoneName);
5757
}
5858

0 commit comments

Comments
 (0)