File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
liquidjava-verifier/src/main/java/liquidjava Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1414import spoon .support .QueueProcessingManager ;
1515
1616public class CommandLineLauncher {
17+
18+ private static final Diagnostics diagnostics = Diagnostics .getInstance ();
19+
1720 public static void main (String [] args ) {
1821 if (args .length == 0 ) {
1922 System .out .println ("No input paths provided" );
@@ -25,7 +28,6 @@ public static void main(String[] args) {
2528 }
2629 List <String > paths = Arrays .asList (args );
2730 launch (paths .toArray (new String [0 ]));
28- Diagnostics diagnostics = Diagnostics .getInstance ();
2931 if (diagnostics .foundError ()) {
3032 System .out .println (diagnostics .getErrorOutput ());
3133 } else {
@@ -37,7 +39,6 @@ public static void main(String[] args) {
3739 public static void launch (String ... paths ) {
3840 System .out .println ("Running LiquidJava on: " + Arrays .toString (paths ).replaceAll ("[\\ [\\ ]]" , "" ));
3941
40- Diagnostics diagnostics = Diagnostics .getInstance ();
4142 diagnostics .clear ();
4243 Launcher launcher = new Launcher ();
4344 for (String path : paths ) {
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public String toString() {
4949 StringBuilder sb = new StringBuilder ();
5050
5151 // title
52- sb .append ("\n " ).append (accentColor ).append (title ).append (": " ).append (Colors .RESET ).append (message )
52+ sb .append ("\n " ).append (accentColor ).append (title ).append (": " ).append (Colors .RESET ).append (message . toLowerCase () )
5353 .append ("\n " );
5454
5555 // snippet
You can’t perform that action at this time.
0 commit comments