mirror of
https://gitee.com/nutz/nutzboot.git
synced 2024-11-30 02:38:28 +08:00
fix: PropertiesConfigureLoader里面的正则表达式写错了
结束应该是$, 写成了开头^
This commit is contained in:
parent
825489baa0
commit
0fdfd6ccec
@ -74,7 +74,7 @@ public class PropertiesConfigureLoader extends AbstractConfigureLoader {
|
||||
if(conf.has("nutz.boot.configure.properties.dir")) {
|
||||
String configDir = conf.get("nutz.boot.configure.properties.dir");
|
||||
String configPath = getPath(configDir);
|
||||
Disks.visitFile(configPath, ".+properties^", true, (file)->{
|
||||
Disks.visitFile(configPath, ".+properties$", true, (file)->{
|
||||
if (file.canRead())
|
||||
try {
|
||||
try (FileInputStream ins = new FileInputStream(file)) {
|
||||
|
Loading…
Reference in New Issue
Block a user