cleaning up

This commit is contained in:
zach rice committed 2019-04-13 13:50:14 -05:00
1 parent c4da547503
commit df8a2d35a8
4 files changed
+4 -8

No files matched your search

+3
View File
@@ -85,6 +85,9 @@ func (repoInfo *RepoInfo) clone() error {
} else if repoInfo.path != "" {
log.Infof("opening %s", opts.RepoPath)
repo, err = git.PlainOpen(repoInfo.path)
if err != nil {
log.Errorf("unable to open %s", opts.RepoPath)
}
} else {
// cloning to memory
log.Infof("cloning %s", opts.Repo)