From 7a3d15567541ba98701a737fd1aad8ff949358b5 Mon Sep 17 00:00:00 2001 From: Luis Pollo Date: Mon, 6 May 2019 08:53:02 -0500 Subject: [PATCH] Fix logging of repo paths --- src/repo.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/repo.go b/src/repo.go index 52389836..8ac2ba64 100644 --- a/src/repo.go +++ b/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