Commit 0ac36f28 authored by ics's avatar ics
Browse files

fix bug: bad reference to .nomad directory

parent c67687af
......@@ -195,7 +195,7 @@ public class ConfigManager {
}
// Load all .properties files from USER_HOME/.nomad directory
files = FileHelper.getFilesListByExtension(USER_HOME + FILE_SEPARATOR + ".nomad" + FILE_SEPARATOR, PROPERTIES_EXTENSION, true, true);
files = FileHelper.getFilesListByExtension(ConfigManager.getInstance().getLocalFilesDirectory() + FILE_SEPARATOR, PROPERTIES_EXTENSION, true, true);
if (files != null) {
propertiesFiles.addAll(Arrays.asList(files));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment