Add Flow.getSetting for resolving env-var properties

This lays the groundwork for subflow-specific settings
This commit is contained in:
Nick O'Leary
2019-01-16 22:38:04 +00:00
parent 81f4e0de56
commit 6286b34d00
6 changed files with 38 additions and 15 deletions

View File

@@ -283,6 +283,10 @@ class Flow {
return this.activeNodes;
}
getSetting(key) {
return this.parent.getSetting(key);
}
handleStatus(node,statusMessage) {
events.emit("node-status",{
id: node.id,