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

@@ -373,10 +373,11 @@ class Subflow extends Flow {
const node = this.subflowInstance;
if (node.g) {
const group = this.getGroupNode(node.g);
const result = this.getGroupEnvSetting(node, group, name);
const [result, newName] = this.getGroupEnvSetting(node, group, name);
if (result) {
return result.val;
}
name = newName;
}