Skip to content

env.get doesn't work #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
natcl opened this issue Mar 19, 2019 · 2 comments
Open

env.get doesn't work #8

natcl opened this issue Mar 19, 2019 · 2 comments

Comments

@natcl
Copy link
Collaborator

natcl commented Mar 19, 2019

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

@ozomer
Copy link
Owner

ozomer commented Mar 21, 2019

I just published the pull-request: #7 without checking anything...

@natcl
Copy link
Collaborator Author

natcl commented Mar 21, 2019

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants