From 37d548c7fa1db5284227a861089857fc20de06ce Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Mon, 13 Dec 2021 01:31:15 +0100 Subject: configuration app returns non-zero value (2) if the configuration contains an error. Fixes #3031 --- src/core/lombok/core/configuration/ConfigurationApp.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core') 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; -- cgit