mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 21:24:21 +01:00
Merge pull request #204 from luispollo/fix-repo-path-logging
Fix logging of repo paths
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -83,10 +83,10 @@ func (repoInfo *RepoInfo) clone() error {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
} else if repoInfo.path != "" {
|
} else if repoInfo.path != "" {
|
||||||
log.Infof("opening %s", opts.RepoPath)
|
log.Infof("opening %s", repoInfo.path)
|
||||||
repo, err = git.PlainOpen(repoInfo.path)
|
repo, err = git.PlainOpen(repoInfo.path)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Errorf("unable to open %s", opts.RepoPath)
|
log.Errorf("unable to open %s", repoInfo.path)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// cloning to memory
|
// cloning to memory
|
||||||
|
|||||||
Reference in new issue
Block a user