chore: match gitleaks.toml anywhere (#1553)

This commit is contained in:
Richard Gomez authored and GitHub committed 2024-10-08 09:39:44 -05:00
1 parent b2fbaeb900
commit 14c924dd02
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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?)$`),