diff options
Diffstat (limited to 'releaseBox.go')
| -rw-r--r-- | releaseBox.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/releaseBox.go b/releaseBox.go index a3e0849..14b0c94 100644 --- a/releaseBox.go +++ b/releaseBox.go @@ -178,7 +178,7 @@ func createReleaseBox(box *gui.Node) { if repo.Status.ReadOnly() { continue } - repo.Status.RunCmd([]string{"rm", "-f", "go.mod", "go.sum"}) + repo.Status.Run([]string{"rm", "-f", "go.mod", "go.sum"}) } me.Enable() }) @@ -191,7 +191,7 @@ func createReleaseBox(box *gui.Node) { continue } log.Warn("running git reset --hard", repo.Name()) - repo.Status.RunCmd([]string{"git", "reset", "--hard"}) + repo.Status.Run([]string{"git", "reset", "--hard"}) } me.Enable() }) |
