Skip to content

Commit

Permalink
Added test for resx exclusion and fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
filip-debricked committed Oct 9, 2024
1 parent 684f2eb commit 7037e40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion internal/fingerprint/exclusion.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func DefaultExclusionsFingerprint() []string {
for _, excluded_extension := range defaultFingerprintExclusions.Extensions {
default_exclusions = append(default_exclusions, "**/*"+excluded_extension)
}
for _, excluded_ending := range defaultFingerprintExclusions.Extensions {
for _, excluded_ending := range defaultFingerprintExclusions.Endings {
default_exclusions = append(default_exclusions, "**/*"+excluded_ending)
}

Expand Down
1 change: 1 addition & 0 deletions internal/fingerprint/testdata/fingerprinter/something.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Some text to make it larger than a few bytesSome text to make it larger than a few bytesSome text to make it larger than a few bytesSome text to make it larger than a few bytesSome text to make it larger than a few bytes

0 comments on commit 7037e40

Please sign in to comment.