Skip to content

Commit

Permalink
--taskid=ID20230906
Browse files Browse the repository at this point in the history
添加处理的白名单列吧
  • Loading branch information
xinluke committed Sep 6, 2023
1 parent 11628a2 commit d3bd9ae
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,13 @@ private boolean hasVersionProperty(String versionKey) {
Properties prop = model.getProperties();
List<String> refVersionList = prop.stringPropertyNames().stream() //
.filter((item) -> {
return !standardList.contains(item) && item.endsWith(".version");
return item.endsWith(".version");
}) // 只关心我们自定义的version属性
.collect(Collectors.toList());
//如果是内置变量,认为是有效的
if (standardList.contains(versionKey)) {
return true;
}
return refVersionList.contains(versionKey);
}

Expand Down

0 comments on commit d3bd9ae

Please sign in to comment.