diff options
Diffstat (limited to 'common.go')
| -rw-r--r-- | common.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -6,6 +6,7 @@ import ( "path/filepath" "sort" + "github.com/go-cmd/cmd" "go.wit.com/gui" "go.wit.com/lib/gui/repostatus" "go.wit.com/log" @@ -110,8 +111,8 @@ func (r *RepoRow) IsPerfect() bool { return false } -func (r *RepoRow) RunCmd(cmd []string) (error, string) { - return r.Status.RunCmd(cmd) +func (r *RepoRow) Run(cmd []string) cmd.Status { + return r.Status.Run(cmd) } func (r *RepoRow) AllTags() []*repostatus.Tag { |
