aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/lombok/core/configuration/ConfigurationApp.java1
-rw-r--r--test/configuration/src/lombok/core/configuration/TestConfiguration.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/core/lombok/core/configuration/ConfigurationApp.java b/src/core/lombok/core/configuration/ConfigurationApp.java
index 8d794c8a..268e83b5 100644
--- a/src/core/lombok/core/configuration/ConfigurationApp.java
+++ b/src/core/lombok/core/configuration/ConfigurationApp.java
@@ -232,6 +232,7 @@ public class ConfigurationApp extends LombokApp {
if (!problems.isEmpty()) {
err.printf("Problems in the configuration files:%n");
for (String problem : problems) err.printf("- %s%n", problem);
+ return 2;
}
return 0;
diff --git a/test/configuration/src/lombok/core/configuration/TestConfiguration.java b/test/configuration/src/lombok/core/configuration/TestConfiguration.java
index ebb556de..41f22028 100644
--- a/test/configuration/src/lombok/core/configuration/TestConfiguration.java
+++ b/test/configuration/src/lombok/core/configuration/TestConfiguration.java
@@ -70,7 +70,7 @@ public class TestConfiguration {
checkContent(directory, out, "out");
checkContent(directory, err, "err");
- assertEquals(0, result);
+ assertEquals(2, result);
}
private void checkContent(File dir, String actual, String type) throws Exception {