Просмотр исходного кода

Merge pull request #204 from luispollo/fix-repo-path-logging

Fix logging of repo paths
Zachary Rice 6 лет назад
Родитель
Сommit
f4b9b6d0b3
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/repo.go

+ 2 - 2
src/repo.go

@@ -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