Fix logging of repo paths

This commit is contained in:
Luis Pollo committed 2019-05-06 08:53:02 -05:00
1 parent 68b6388ef7
commit 7a3d155675
1 file changed
+2 -2
+2 -2
View File
@@ -83,10 +83,10 @@ func (repoInfo *RepoInfo) clone() error {
})
}
} else if repoInfo.path != "" {
log.Infof("opening %s", opts.RepoPath)
log.Infof("opening %s", repoInfo.path)
repo, err = git.PlainOpen(repoInfo.path)
if err != nil {
log.Errorf("unable to open %s", opts.RepoPath)
log.Errorf("unable to open %s", repoInfo.path)
}
} else {
// cloning to memory