diff options
| author | Jeff Carr <[email protected]> | 2024-11-08 06:43:45 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-08 06:43:45 -0600 |
| commit | 29551667f0c1bca602870caba5921d3abcbe992e (patch) | |
| tree | 30ac8b894c973d3a01148fc74f7b8ae70e012252 /common.go | |
| parent | ca00923762acf87139188c7fc6eac9f67107d7fe (diff) | |
use go-cmd/cmdv0.22.12
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 { |
