Skip to content
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

Cleanup of file scoped environment variables #667

Merged
merged 3 commits into from
Jan 15, 2022

Conversation

jdmarshall
Copy link
Contributor

This change removes all of the unused variables and fixes one case of variable shadowing.

I am slowly working toward separating config.util into its own file, but there are a number of couplings between it and the parent scope that will need to be sorted out.

The Parser changes put more distance between assignment and use.
These are only ever used in loadFileConfigs()
This conflicts with a file scope variable.
@jdmarshall jdmarshall mentioned this pull request Jan 15, 2022
@markstos
Copy link
Collaborator

These all look good. Thanks!

@markstos markstos merged commit 5e571d5 into node-config:master Jan 15, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants