Improved review directory setting management.
This commit is contained in:
parent
c520e83488
commit
f0abc44e0b
@ -171,7 +171,8 @@ public class HebdobotCLI
|
|||||||
{
|
{
|
||||||
//
|
//
|
||||||
File reviewDirectory;
|
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");
|
reviewDirectory = new File(configFile.getParentFile(), "reviews");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user