nconf icon indicating copy to clipboard operation
nconf copied to clipboard

reserved name 'env' for file used hides env vars

Open crunchie84 opened this issue 8 years ago • 0 comments

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).

crunchie84 avatar Mar 08 '16 12:03 crunchie84