[opt](config) create custom conf dir if not exists (#29391)
This commit is contained in:
@ -391,6 +391,7 @@ public class ConfigBase {
|
||||
throws IOException {
|
||||
File file = new File(customConfFile);
|
||||
if (!file.exists()) {
|
||||
file.getParentFile().mkdirs();
|
||||
file.createNewFile();
|
||||
} else if (resetPersist) {
|
||||
// clear the customConfFile content
|
||||
|
||||
Reference in New Issue
Block a user