fix(测试计划): 修复执行测试计划报空指针
This commit is contained in:
parent
2c520503c2
commit
ebb4af9987
|
@ -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