Skip to content

Remove files from configSources that are not part of the config sources.#821

Merged
jdmarshall merged 1 commit intonode-config:masterfrom
jdmarshall:sourcesCleanup
Jul 15, 2025
Merged

Remove files from configSources that are not part of the config sources.#821
jdmarshall merged 1 commit intonode-config:masterfrom
jdmarshall:sourcesCleanup

Conversation

@jdmarshall
Copy link
Copy Markdown
Collaborator

parseFile adding any calls to the configSources causes the union of the configSources to not match Config.get()

fixes #806

I don't want to merge this for a big yet, to give time for any other 4.0 issues to be sorted before we start merging more breaking changes. But I wanted to clear this off of my mental todo list.

@jdmarshall
Copy link
Copy Markdown
Collaborator Author

Coverage % drops slightly because this removed covered code from a file that has some uncovered functions in it. Probably should fix that in 4.0.x

parseFile adding any calls to the configSources causes the union
of the configSources to not match Config.get()

fixes node-config#806
@jdmarshall jdmarshall merged commit 8143fe5 into node-config:master Jul 15, 2025
1 check passed
@jdmarshall jdmarshall deleted the sourcesCleanup branch January 18, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] util.loadFilesConfig() adds entries to configSource()

2 participants