From f0abc44e0b7be27b20b1cfb435166e30721e20a5 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Wed, 10 Jan 2018 02:14:17 +0100 Subject: [PATCH] Improved review directory setting management. --- src/org/april/hebdobot/cli/HebdobotCLI.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/org/april/hebdobot/cli/HebdobotCLI.java b/src/org/april/hebdobot/cli/HebdobotCLI.java index e3b3e2e..b0829d5 100644 --- a/src/org/april/hebdobot/cli/HebdobotCLI.java +++ b/src/org/april/hebdobot/cli/HebdobotCLI.java @@ -171,7 +171,8 @@ public class HebdobotCLI { // File reviewDirectory; - if (config.getReviewDirectory() == null) + logger.info("Review directory configuration value: [{}]", config.getReviewDirectory()); + if (StringUtils.isBlank(config.getReviewDirectory())) { reviewDirectory = new File(configFile.getParentFile(), "reviews"); }