From 87669e0f18f282854d340a676834b939e34e5ed3 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Tue, 31 Jul 2018 16:43:43 +0200 Subject: termui: use the editor to create a new bug --- commands/comment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/comment.go') diff --git a/commands/comment.go b/commands/comment.go index cebf729c..0a76e4ce 100644 --- a/commands/comment.go +++ b/commands/comment.go @@ -35,7 +35,7 @@ func runComment(cmd *cobra.Command, args []string) error { } if commentMessage == "" { - commentMessage, err = input.BugCommentEditorInput(repo, messageFilename) + commentMessage, err = input.BugCommentEditorInput(repo) if err == input.ErrEmptyMessage { fmt.Println("Empty message, aborting.") return nil -- cgit