davsclaus commented on code in PR #30857:
URL: https://github.com/apache/camel/pull/30857#discussion_r4707281933


##########
catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/AuditMojo.java:
##########
@@ -267,7 +275,9 @@ public void execute() throws MojoExecutionException, 
MojoFailureException {
                     "No known vulnerabilities" + ("low".equals(listLevel) ? "" 
: " of " + listLevel + " severity or worse")
                           + " in " + collected.deps().size() + " dependencies 
of " + name + note + more);
         } else {
-            AuditReport.table(listed).forEach(line -> getLog().warn(line));
+            List<String> table = byArtifact
+                    ? AuditReport.artifactTable(CveScan.artifactRows(listed)) 
: AuditReport.table(listed);
+            table.forEach(line -> getLog().warn(line));
             getLog().warn(listed.size() + " vulnerabilities in " + 
CveScan.artifactRows(listed).size() + " of "

Review Comment:
   Thanks, fixed in 37b8864913c3: the rows are computed once and used for both 
the table and the summary line.
   
   _Claude Code on behalf of davsclaus_



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to