Skip to content

Commit

Permalink
0004860: Invalid module during startup after upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Mar 1, 2021
1 parent 716680e commit 27e75d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ private String[] getPropFileNames() {
FilenameFilter filter = new FilenameFilter() {
@Override
public boolean accept(File dir, String name) {
return name.toLowerCase().endsWith(EXT_PROPERTIES);
return name.toLowerCase().endsWith(EXT_PROPERTIES) && modules.containsKey(name.substring(0, name.indexOf(".")));
}
};
return dir.list(filter);
Expand Down

0 comments on commit 27e75d0

Please sign in to comment.