fix: 原来是wendal的锅,前一个修改没改好

This commit is contained in:
Wendal Chen 2018-07-27 12:39:07 +08:00
parent 2491288896
commit cb6355c49a

View File

@ -87,7 +87,7 @@ public class PropertiesConfigureLoader extends AbstractConfigureLoader {
if (tmp.size() > 0) {
conf.putAll(tmp.toMap());
}
if (Strings.isBlank("app.build.version")) {
if (Strings.isBlank(conf.get("app.build.version"))) {
InputStream ins = resourceLoader.get("build.version");
if (ins != null) {
conf.load(new InputStreamReader(ins), false);