Skip to content

Commit

Permalink
Merge pull request #271 from debricked/0-resx-bug
Browse files Browse the repository at this point in the history
Fix .resx exclusion bug in fingerprinting
  • Loading branch information
zozs authored Oct 10, 2024
2 parents 684f2eb + 7037e40 commit f6ec650
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 f6ec650

Please sign in to comment.