aboutsummaryrefslogtreecommitdiffstats
path: root/commands/comment.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-31 16:43:43 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-31 16:44:23 +0200
commit87669e0f18f282854d340a676834b939e34e5ed3 (patch)
treec78eaa155d2939d6647ab814c6710d0d3ed69a6e /commands/comment.go
parenteb39c5c29bc0e9b5e15a940a1b71bdac688b6535 (diff)
downloadgit-bug-87669e0f18f282854d340a676834b939e34e5ed3.tar.gz
termui: use the editor to create a new bug
Diffstat (limited to 'commands/comment.go')
-rw-r--r--commands/comment.go2
1 files changed, 1 insertions, 1 deletions
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