ozomer / node-red-contrib-unsafe-function

The fast and furious version of function nodes
1 stars 5 forks source link

env.get doesn't work #8

Open natcl opened 5 years ago

natcl commented 5 years ago

Under node-red 0.20 env.get doesn't seem to work, not sure if it's supported yet though ?

ozomer commented 5 years ago

I just published the pull-request: https://github.com/ozomer/node-red-contrib-unsafe-function/pull/7 without checking anything...

natcl commented 5 years ago

Not sure why it doesn't work it seems defined here:

            env: {
                get: function(envVar) {
                    var flow = node._flow;
                    return flow.getSetting(envVar);