mirror of
https://github.com/taigrr/mg.git
synced 2026-04-02 03:28:42 -07:00
fix print statements
This commit is contained in:
@@ -61,14 +61,14 @@ var (
|
|||||||
wg.Done()
|
wg.Done()
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
fmt.Printf("successfully cloned %s\n", repo)
|
fmt.Printf("successfully cloned %s\n", repo.Path)
|
||||||
wg.Done()
|
wg.Done()
|
||||||
continue
|
continue
|
||||||
} else {
|
} else {
|
||||||
mutex.Lock()
|
mutex.Lock()
|
||||||
errs = append(errs, RepoError{Error: err, Repo: repo.Path})
|
errs = append(errs, RepoError{Error: err, Repo: repo.Path})
|
||||||
mutex.Unlock()
|
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()
|
wg.Done()
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user