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_close.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/status_close.go') diff --git a/commands/status_close.go b/commands/status_close.go index 2b4f9602..03618cc6 100644 --- a/commands/status_close.go +++ b/commands/status_close.go @@ -20,7 +20,7 @@ func runStatusClose(cmd *cobra.Command, args []string) error { return err } - err = b.Close() + _, err = b.Close() 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_close.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/status_close.go') diff --git a/commands/status_close.go b/commands/status_close.go index 03618cc6..94d05ddf 100644 --- a/commands/status_close.go +++ b/commands/status_close.go @@ -30,7 +30,7 @@ func runStatusClose(cmd *cobra.Command, args []string) error { var closeCmd = &cobra.Command{ Use: "close []", - Short: "Mark a bug as closed", + Short: "Mark a bug as closed.", PreRunE: loadRepo, RunE: runStatusClose, } -- cgit