fix: PropertiesConfigureLoader里面的正则表达式写错了

结束应该是$, 写成了开头^
This commit is contained in:
Wendal Chen 2018-01-14 20:18:32 +08:00 committed by GitHub
parent 825489baa0
commit 0fdfd6ccec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)) {