From 1fa8dfba527d6d2f3799faf96f66d43d7a648840 Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Sat, 21 Aug 2021 17:36:49 +0800 Subject: [PATCH] x --- models/repos.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/models/repos.go b/models/repos.go index 098709b..f11a36e 100644 --- a/models/repos.go +++ b/models/repos.go @@ -42,5 +42,6 @@ func initRepos() { func (rp *Repo) gitClone() { cmd := exec.Command("sh", "-c", fmt.Sprintf("git clone %s %s", rp.Git, rp.filename)) cmd.Path = reposPath - cmd.Output() + fmt.Println("sh", "-c", fmt.Sprintf("git clone %s %s", rp.Git, rp.filename)) + fmt.Println(cmd.Output()) }