-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(fossid-webapp): Count snippets when enforcing the snippet limit
The current logic is wrong: the snippet limit is applied to ORT snippet findings. However, a snippet finding refers to a single source code location and contains generally multiple snippets. Hence, those snippets must be counted when applying the limit. Please note that the new logic still garantees that all the snippets of a snippet finding are returned, for unity. This is a fixup for 9223e90. Signed-off-by: Nicolas Nobelis <nicolas.nobelis@bosch.com>
- Loading branch information
1 parent
ce2e767
commit 2bfeec1
Showing
2 changed files
with
56 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters