File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/main/java/com/qdesrame/openapi/diff Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public static void main(String... args) {
9090 String newPath = line .getArgList ().get (1 );
9191 ChangedOpenApi result = OpenApiCompare .fromLocations (oldPath , newPath );
9292 ConsoleRender consoleRender = new ConsoleRender ();
93- if (logLevel .equals ("OFF" )) {
93+ if (! logLevel .equals ("OFF" )) {
9494 System .out .println (consoleRender .render (result ));
9595 }
9696 HtmlRender htmlRender = new HtmlRender ();
@@ -130,11 +130,9 @@ public static void main(String... args) {
130130 } catch (ParseException e ) {
131131 // oops, something went wrong
132132 System .err .println ("Parsing failed. Reason: " + e .getMessage ());
133- printHelp (options );
134133 System .exit (2 );
135134 } catch (Exception e ) {
136135 System .err .println ("Unexpected exception. Reason: " + e .getMessage () + "\n " + ExceptionUtils .getStackTrace (e ));
137- printHelp (options );
138136 System .exit (2 );
139137 }
140138
You can’t perform that action at this time.
0 commit comments