Commit c544e15d by huangfusuper

避免占位重复解析

parent 902c8cc8
......@@ -95,9 +95,9 @@ public class CommandAndScriptProcessingMachine implements ProcessingMachine {
//下载脚本文件
byte[] scriptByteArray = fileSystem.downloaderFile(remotePath);
//替换脚本占位符
if(scriptParamAndPlaceholderDto != null){
/*if(scriptParamAndPlaceholderDto != null){
scriptByteArray = PlaceholderUtils.resolvePlaceholders(scriptByteArray,scriptParamAndPlaceholderDto.getPlaceholder());
}
}*/
//获取文件元信息
Map<String, String> fileMate = fileSystem.getFileMate(remotePath);
String fileName = fileMate.get("filename");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment