mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 12:44:22 +01:00
chore: match gitleaks.toml anywhere (#1553)
This commit is contained in:
1 parent
b2fbaeb900
commit
14c924dd02
2 files changed
+2
-2
No files matched your search
@@ -31,7 +31,7 @@ func CreateGlobalConfig() config.Config {
|
||||
regexp.MustCompile(`^\${([A-Z_]+|[a-z_]+)}$`),
|
||||
},
|
||||
Paths: []*regexp.Regexp{
|
||||
regexp.MustCompile(`^gitleaks\.toml$`),
|
||||
regexp.MustCompile(`gitleaks\.toml`),
|
||||
|
||||
// ----------- Documents and media -----------
|
||||
regexp.MustCompile(`(?i)\.(bmp|gif|jpe?g|svg|tiff?)$`),
|
||||
|
||||
Reference in new issue
Block a user