aboutsummaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-01-19 16:01:06 +0100
committerMichael Muré <batolettre@gmail.com>2019-03-01 22:40:21 +0100
commit844616baf8dc628360942d57fd69f24e298e08da (patch)
tree3fd635e08a06de60618d47ab022554a1f78364de /commands
parentbdbe9e7e8256fff820efe1ce707e7154d517ecb3 (diff)
downloadgit-bug-844616baf8dc628360942d57fd69f24e298e08da.tar.gz
identity: more progress and fixes
Diffstat (limited to 'commands')
-rw-r--r--commands/ls.go4
-rw-r--r--commands/show.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/commands/ls.go b/commands/ls.go
index 2f621bc5..f641b58a 100644
--- a/commands/ls.go
+++ b/commands/ls.go
@@ -4,8 +4,8 @@ import (
"fmt"
"strings"
- "github.com/MichaelMure/git-bug/bug"
"github.com/MichaelMure/git-bug/cache"
+ "github.com/MichaelMure/git-bug/identity"
"github.com/MichaelMure/git-bug/util/colors"
"github.com/MichaelMure/git-bug/util/interrupt"
"github.com/spf13/cobra"
@@ -52,7 +52,7 @@ func runLsBug(cmd *cobra.Command, args []string) error {
snapshot := b.Snapshot()
- var author bug.Person
+ var author identity.Interface
if len(snapshot.Comments) > 0 {
create := snapshot.Comments[0]
diff --git a/commands/show.go b/commands/show.go
index 56717b3b..123a46dc 100644
--- a/commands/show.go
+++ b/commands/show.go
@@ -93,7 +93,7 @@ func runShowBug(cmd *cobra.Command, args []string) error {
indent,
i,
comment.Author.DisplayName(),
- comment.Author.Email,
+ comment.Author.Email(),
)
if comment.Message == "" {