diff --git a/pom.xml b/pom.xml index d5cfd6c3..e26f11fc 100644 --- a/pom.xml +++ b/pom.xml @@ -56,7 +56,7 @@ com.beust jcommander - 1.72 + 1.81 com.fasterxml.jackson.core diff --git a/src/main/java/com/deepoove/swagger/diff/cli/CLI.java b/src/main/java/com/deepoove/swagger/diff/cli/CLI.java index 6a2c1b30..7ae8c8d4 100644 --- a/src/main/java/com/deepoove/swagger/diff/cli/CLI.java +++ b/src/main/java/com/deepoove/swagger/diff/cli/CLI.java @@ -57,7 +57,7 @@ public void run(JCommander jCommander) { return; } if (v){ - JCommander.getConsole().println("1.2.2"); + jCommander.getConsole().println("1.2.2"); return; } @@ -65,7 +65,7 @@ public void run(JCommander jCommander) { ? SwaggerDiff.compareV2(oldSpec, newSpec) : SwaggerDiff.compareV1(oldSpec, newSpec); String render = getRender(outputMode).render(diff); - JCommander.getConsole().println(render); + jCommander.getConsole().println(render); } private Render getRender(String outputMode) {