Skip to content

Commit

Permalink
markdown or diff output
Browse files Browse the repository at this point in the history
  • Loading branch information
siom79 committed Aug 20, 2024
1 parent c85abbf commit b1613cb
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions japicmp/src/main/java/japicmp/cli/JApiCli.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,11 @@ private void generateOutput(Options options, List<JApiClass> jApiClasses, JarArc
MarkdownOutputGenerator markdownOutputGenerator = new MarkdownOutputGenerator(options, jApiClasses);
String output = markdownOutputGenerator.generate();
System.out.println(output);
return;
} else {
StdoutOutputGenerator stdoutOutputGenerator = new StdoutOutputGenerator(options, jApiClasses);
String output = stdoutOutputGenerator.generate();
System.out.println(output);
}
StdoutOutputGenerator stdoutOutputGenerator = new StdoutOutputGenerator(options, jApiClasses);
String output = stdoutOutputGenerator.generate();
System.out.println(output);

if (options.isErrorOnBinaryIncompatibility()
|| options.isErrorOnSourceIncompatibility()
|| options.isErrorOnExclusionIncompatibility()
Expand Down

0 comments on commit b1613cb

Please sign in to comment.