mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 05:24:22 +01:00
repoDescriptor->repoInfo
This commit is contained in:
1 parent
e79ffc6ae8
commit
c2143c5843
9 files changed
+23
-28
No files matched your search
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user