mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 05:24:22 +01:00
refactor(allowlist): deduplicate commits & keywords (#1596)
This commit is contained in:
1 parent
50c2818167
commit
8cf93b9ad5
3 files changed
+81
-1
No files matched your search
@@ -381,7 +381,6 @@ func TestTranslate(t *testing.T) {
|
||||
}
|
||||
|
||||
var regexComparer = func(x, y *regexp.Regexp) bool {
|
||||
// Compare the string representation of the regex patterns.
|
||||
if x == nil || y == nil {
|
||||
return x == y
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user