fix env var access using $env for groups

This commit is contained in:
Hiroyasu Nishiyama
2021-11-27 19:29:57 +09:00
parent 9439cd0e3d
commit c331da7323
4 changed files with 61 additions and 12 deletions

View File

@@ -526,10 +526,11 @@ function getSetting(node, name, flow_) {
if (flow) {
if (node && node.g) {
const group = flow.getGroupNode(node.g);
const result = flow.getGroupEnvSetting(node, group, name);
const [result, newName] = flow.getGroupEnvSetting(node, group, name);
if (result) {
return result.val;
}
name = newName;
}
return flow.getSetting(name);
}