Skip to content

Commit

Permalink
chore: fix allow rule of ignoring test files to make it case insensit…
Browse files Browse the repository at this point in the history
  • Loading branch information
aasish-r authored and fhielpos committed Dec 20, 2024
1 parent e1970fc commit d7f0237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/fanal/secret/builtin-allow-rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var builtinAllowRules = []AllowRule{
{
ID: "tests",
Description: "Avoid test files and paths",
Path: MustCompile(`(^test|\/test|-test|_test|\.test)`),
Path: MustCompile(`(^(?i)test|\/test|-test|_test|\.test)`),
},
{
ID: "examples",
Expand Down

0 comments on commit d7f0237

Please sign in to comment.