repoDescriptor->repoInfo

This commit is contained in:
zach rice committed 2019-03-28 08:06:38 -05:00
1 parent e79ffc6ae8
commit c2143c5843
9 files changed
+23 -28

No files matched your search

+1 -1
View File
@@ -177,7 +177,7 @@ func (config *Config) updateEntropyRanges(entropyLimitStr []string) error {
// externalConfig will attempt to load a pinned ".gitleaks.toml" configuration file
// from a remote or local repo. Use the --repo-config option to trigger this.
func (config *Config) updateFromRepo(repo *RepoDescriptor) error {
func (config *Config) updateFromRepo(repo *RepoInfo) error {
var tomlConfig TomlConfig
wt, err := repo.repository.Worktree()
if err != nil {