mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-15 20:42:09 +08:00
feature #I64T29 增加脚本语言Lua的支持
This commit is contained in:
@@ -29,7 +29,7 @@ public class PythonScriptExecutor extends JSR223ScriptExecutor {
|
||||
//用第一行的缩进的空格数作为整个代码的缩进量
|
||||
String blankStr = ReUtil.getGroup0("^[ ]*", noBlankLineList.get(0));
|
||||
|
||||
//重新构建python脚本
|
||||
//重新构建脚本
|
||||
StringBuilder scriptSB = new StringBuilder();
|
||||
noBlankLineList.forEach(s
|
||||
-> scriptSB.append(StrUtil.format("{}\n", s.replaceFirst(blankStr, StrUtil.EMPTY))));
|
||||
|
||||
Reference in New Issue
Block a user