update return value

This commit is contained in:
Jay Gabriels
2018-03-29 21:42:46 -07:00
parent 8e4eefdf42
commit 0b0736952c

View File

@@ -55,16 +55,13 @@ func CloneAllReposByOrg() error {
}
for _, target := range cloneTargets {
go func(repoUrl string) (string, error) {
go func(repoUrl string) {
fmt.Println("Cloning!!!!!!", repoUrl)
cmd := exec.Command("git", "clone", repoUrl)
err := cmd.Run()
if err != nil {
fmt.Print("ERROR DETECTEDs")
return repoUrl, err
}
return "Done", nil
}(target)
}