From d57e2fdd1977b9a5d4984d7146e66349001893b3 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Wed, 19 Sep 2018 21:45:04 +0200 Subject: commands: fix a panic on merge invalid --- commands/pull.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/pull.go') diff --git a/commands/pull.go b/commands/pull.go index 64dd83fe..73a27d3d 100644 --- a/commands/pull.go +++ b/commands/pull.go @@ -42,7 +42,7 @@ func runPull(cmd *cobra.Command, args []string) error { } if merge.Status != bug.MergeStatusNothing { - fmt.Printf("%s: %s\n", merge.Bug.HumanId(), merge) + fmt.Printf("%s: %s\n", bug.FormatHumanID(merge.Id), merge) } } -- cgit