Skip to content

Commit

Permalink
FIX: Double validation reporting (#201)
Browse files Browse the repository at this point in the history
- removed the validation report output from profile reporting.
  • Loading branch information
carlwilson authored Oct 16, 2024
1 parent 27ac8bc commit 49e148b
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,6 @@ private static Integer results(final Map<String, List<Message>> messageMap) {
private static Integer results(final Path path, final ProfileResult report) {
Integer status = 0;
ConsoleFormatter.colourise(FACTORY.getInfo("APP-5", report.getName(), path.toString(), "bold"));
if (report.getValidationReport() != null) {
status = results(report.getValidationReport().documentMessages.getMessages());
}
for (Map.Entry<String, List<Message>> entry : report.getMessageLog().getMessages().entrySet()) {
status = Math.max(status, results(entry.getKey(), entry.getValue()));
}
Expand Down

0 comments on commit 49e148b

Please sign in to comment.