aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2021-12-13 01:31:15 +0100
committerRoel Spilker <r.spilker@gmail.com>2021-12-13 01:31:15 +0100
commit37d548c7fa1db5284227a861089857fc20de06ce (patch)
treead6b193724ec053deb93464e65a19d4da3e0c8af /src/core
parentc972edb81e3d223c97175057cc56f5ac9d4e0143 (diff)
downloadlombok-37d548c7fa1db5284227a861089857fc20de06ce.tar.gz
lombok-37d548c7fa1db5284227a861089857fc20de06ce.tar.bz2
lombok-37d548c7fa1db5284227a861089857fc20de06ce.zip
configuration app returns non-zero value (2) if the configuration contains an error. Fixes #3031
Diffstat (limited to 'src/core')
-rw-r--r--src/core/lombok/core/configuration/ConfigurationApp.java1
1 files changed, 1 insertions, 0 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;