nconf
nconf copied to clipboard
reserved name 'env' for file used hides env vars
Given:
nconf.env().file('env', 'my-custom-file.json');
The result is that the environment vars are iterated but ignored because the file loaded uses a magic env
filename which seems to overrides the stored environment values in nconfig.
tested with latest version (0.8.4).