aboutsummaryrefslogtreecommitdiffstats
path: root/commands/comment.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-23 00:04:46 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-23 00:04:46 +0200
commit17e2ec8f5679c1ba7ae2ea45290e9303beb3c227 (patch)
treec8862ebf6e9e9314361120127bf3fc59877c3e02 /commands/comment.go
parente1f597639bfc2f796f74afa87e41581087f0b26e (diff)
downloadgit-bug-17e2ec8f5679c1ba7ae2ea45290e9303beb3c227.tar.gz
bug: refactor to limit abstraction leak and to have a more reusable code for the UIs
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 cbd34ab3..252fb7e4 100644
--- a/commands/comment.go
+++ b/commands/comment.go
@@ -44,7 +44,7 @@ func runComment(cmd *cobra.Command, args []string) error {
return err
}
- b, err := bug.FindBug(repo, prefix)
+ b, err := bug.FindLocalBug(repo, prefix)
if err != nil {
return err
}