From e100ee9f10dd7f600b58bf3d24b36f9b286210d6 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 24 Feb 2019 12:58:04 +0100 Subject: github: fix 3 edge-case failures --- commands/status_open.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/status_open.go') diff --git a/commands/status_open.go b/commands/status_open.go index 5e3029e2..f19847db 100644 --- a/commands/status_open.go +++ b/commands/status_open.go @@ -20,7 +20,7 @@ func runStatusOpen(cmd *cobra.Command, args []string) error { return err } - err = b.Open() + _, err = b.Open() if err != nil { return err } -- cgit From 2fd5f71b592eeebd0c0c4c770a7dac88d7eae80a Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 24 Feb 2019 14:46:08 +0100 Subject: commands: add a "." at the end of Short commands usage --- commands/status_open.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/status_open.go') diff --git a/commands/status_open.go b/commands/status_open.go index f19847db..9a2b76ab 100644 --- a/commands/status_open.go +++ b/commands/status_open.go @@ -30,7 +30,7 @@ func runStatusOpen(cmd *cobra.Command, args []string) error { var openCmd = &cobra.Command{ Use: "open []", - Short: "Mark a bug as open", + Short: "Mark a bug as open.", PreRunE: loadRepo, RunE: runStatusOpen, } -- cgit