修复git clone BUG

This commit is contained in:
白茶清欢 2022-06-27 16:31:27 +08:00
parent c42fac5134
commit 25274b9ad5

1
git.go
View File

@ -183,6 +183,7 @@ func (g *git) ConfigAuthor(name string, email string) *define.Result {
// Date : 14:03 2022/6/27 // Date : 14:03 2022/6/27
func (g *git) Clone(repo string, saveDir string) *define.Result { func (g *git) Clone(repo string, saveDir string) *define.Result {
param := []string{ param := []string{
"clone",
repo, repo,
} }
if len(saveDir) > 0 { if len(saveDir) > 0 {