fix print statements

This commit is contained in:
2024-02-02 16:28:41 -08:00
parent 01c736b54e
commit f0c6f3906a

View File

@@ -61,14 +61,14 @@ var (
wg.Done()
continue
}
fmt.Printf("successfully cloned %s\n", repo)
fmt.Printf("successfully cloned %s\n", repo.Path)
wg.Done()
continue
} else {
mutex.Lock()
errs = append(errs, RepoError{Error: err, Repo: repo.Path})
mutex.Unlock()
log.Printf("clone failed for %s: %v\n", repo, err)
log.Printf("clone failed for %s: %v\n", repo.Path, err)
wg.Done()
continue
}