mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
removed useless env setup & simplified env access in function node
This commit is contained in:
@@ -34,9 +34,6 @@ function Node(n) {
|
||||
if (n._alias) {
|
||||
this._alias = n._alias;
|
||||
}
|
||||
if (n.env) {
|
||||
this.env = n.env;
|
||||
}
|
||||
if (n._flow) {
|
||||
// Make this a non-enumerable property as it may cause
|
||||
// circular references. Any existing code that tries to JSON serialise
|
||||
|
Reference in New Issue
Block a user