diff options
author | Michael Muré <batolettre@gmail.com> | 2022-11-13 12:31:38 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2022-11-13 12:31:38 +0100 |
commit | 3c6ebc2bfd50b72ff786a2cfd3bbdeb15b478dd3 (patch) | |
tree | 8cf4307bf48f016e0f8728c311bcc53ce38432e3 /commands/comment_add.go | |
parent | 55a2e8e4485fe63fbda759540958c7190dfeb85c (diff) | |
download | git-bug-3c6ebc2bfd50b72ff786a2cfd3bbdeb15b478dd3.tar.gz |
core: bubble up the comment ID when created, or edited the first comment
Diffstat (limited to 'commands/comment_add.go')
-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 e415763b..acac7994 100644 --- a/commands/comment_add.go +++ b/commands/comment_add.go @@ -69,7 +69,7 @@ func runCommentAdd(env *Env, opts commentAddOptions, args []string) error { } } - _, err = b.AddComment(text.Cleanup(opts.message)) + _, _, err = b.AddComment(text.Cleanup(opts.message)) if err != nil { return err } |