Skip to content

Commit

Permalink
fix: fixes the version number discrepancy between manifest file and h…
Browse files Browse the repository at this point in the history
…tml report

Signed-off-by: Olga Lavtar <[email protected]>
  • Loading branch information
olavtar committed Jun 14, 2024
1 parent 711b039 commit 0c2468c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ private Sbom buildSbomFromTextFormat(

for (String line : lines) {
line = line.replaceAll("---", "-").replaceAll(" ", " ");
line = line.replaceAll(":(.*):(.*) -> (.*)$", ":$1:$3");
line = line.replaceAll(":(.*):(.*) -> (.*)$", ":$1:$2");
line = line.replaceAll("(.*):(.*):(.*)$", "$1:$2:jar:$3");
line = line.replaceAll(" \\(n\\)$", "");
line = line.replaceAll(" \\(\\*\\)", "");
Expand Down

0 comments on commit 0c2468c

Please sign in to comment.