Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Instrument Control
NomadCommandSystem
Commits
0ac36f28
Commit
0ac36f28
authored
Apr 20, 2020
by
ics
Browse files
fix bug: bad reference to .nomad directory
parent
c67687af
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/fr/ill/ics/util/ConfigManager.java
View file @
0ac36f28
...
...
@@ -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
));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment