|
|
@ -54,6 +54,11 @@ public class JarLackDetector extends AbstractExceptionDetector { |
|
|
|
// 本地情况
|
|
|
|
// 本地情况
|
|
|
|
List<BuildInfo> localInfos = BuildInfoManager.getInstance().getInfos(); |
|
|
|
List<BuildInfo> localInfos = BuildInfoManager.getInstance().getInfos(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 说明远程环境并不存在对应的 info.json, 直接忽略
|
|
|
|
|
|
|
|
if (Collections.isEmpty(remoteInfos)) { |
|
|
|
|
|
|
|
return DetectorResult.normal(type()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Set<String> remoteSet = remoteInfos.stream() |
|
|
|
Set<String> remoteSet = remoteInfos.stream() |
|
|
|
.filter(this::isExistInfo) |
|
|
|
.filter(this::isExistInfo) |
|
|
|
.map(BuildInfo::getJar) |
|
|
|
.map(BuildInfo::getJar) |
|
|
|