mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +01:00
1 parent
973d74e592
commit
86cfe0848b
34 files changed
+232
-36
No files matched your search
+1
-1
@@ -47,7 +47,7 @@ func (a *AllowList) RepoAllowed(repo string) bool {
|
||||
|
||||
// IgnoreDotGit appends a `.git$` rule to ignore all .git paths. This is used for --no-git scans
|
||||
func (a *AllowList) IgnoreDotGit() error {
|
||||
re, err := regexp.Compile(".git$")
|
||||
re, err := regexp.Compile(".git")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user