Skip to content

Commit 98568cb

Browse files
committed
Minor Change
1 parent b2720df commit 98568cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

liquidjava-verifier/src/main/java/liquidjava/api/CommandLineLauncher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public static void launch(String... paths) {
3838
System.out.println("Running LiquidJava on: " + Arrays.toString(paths).replaceAll("[\\[\\]]", ""));
3939

4040
Diagnostics diagnostics = Diagnostics.getInstance();
41+
diagnostics.clear();
4142
Launcher launcher = new Launcher();
4243
for (String path : paths) {
4344
if (!new File(path).exists()) {
@@ -50,7 +51,6 @@ public static void launch(String... paths) {
5051
launcher.getEnvironment().setNoClasspath(true);
5152
launcher.getEnvironment().setComplianceLevel(8);
5253
launcher.run();
53-
diagnostics.clear();
5454

5555
final Factory factory = launcher.getFactory();
5656
final ProcessingManager processingManager = new QueueProcessingManager(factory);

0 commit comments

Comments
 (0)