diff options
author | Luke Adams <lukeclydeadams@gmail.com> | 2018-10-04 10:29:19 -0600 |
---|---|---|
committer | Luke Adams <lukeclydeadams@gmail.com> | 2018-10-04 10:29:19 -0600 |
commit | bc8e6754a72157a944d304904a9a9dcf45e109ce (patch) | |
tree | e67a0c1e889fd2d26b54b83e05a11a24f88b4429 /commands | |
parent | f464363213ce7315d1f3ea10138450a4ca7432d3 (diff) | |
download | git-bug-bc8e6754a72157a944d304904a9a9dcf45e109ce.tar.gz |
Make addCommentWithEditor accept a preMessage
Diffstat (limited to 'commands')
-rw-r--r-- | commands/comment_add.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/comment_add.go b/commands/comment_add.go index 0a83eb65..8736f9c2 100644 --- a/commands/comment_add.go +++ b/commands/comment_add.go @@ -29,7 +29,7 @@ func runCommentAdd(cmd *cobra.Command, args []string) error { } if commentAddMessage == "" { - commentAddMessage, err = input.BugCommentEditorInput(backend) + commentAddMessage, err = input.BugCommentEditorInput(backend, "") if err == input.ErrEmptyMessage { fmt.Println("Empty message, aborting.") return nil |