fix(测试计划): 修复执行测试计划报空指针
This commit is contained in:
parent
6ea6a02fbf
commit
0b768fa446
|
@ -298,7 +298,8 @@ public class ApiScenarioExecuteService {
|
|||
Map<String, String> diffEnvMap = new HashMap<>();
|
||||
Map<String, String> envMap = runModeConfig.getEnvMap();
|
||||
planEnvMap.forEach((k,v)->{
|
||||
if (envMap.get(k)!=null){
|
||||
if (envMap != null && envMap.get(k)!=null){
|
||||
|
||||
diffEnvMap.put(k,envMap.get(k));
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue