Skip to content

Commit

Permalink
Include all snippets in similarity assessment for SPDX reports
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 23, 2024
1 parent 86f2565 commit 7d89fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cavil/SPDX.pm
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ sub generate_to_file ($self, $id, $file) {
}

# Snippets the AI lawyer thinks are similar to an exising license pattern
elsif ($snippet->{like_pattern}) {
if ($snippet->{like_pattern}) {
_matched_lines(\%similarity, $snippet->{sline}, $snippet->{eline},
[$snippet->{like_pattern}, $snippet->{likelyness}]);
}
Expand Down

0 comments on commit 7d89fba

Please sign in to comment.