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

Using nconf.override() adds property of name "type" and value "literal" to options passed-in. #300

Open
julianlam opened this issue May 15, 2018 · 1 comment

Comments

@julianlam
Copy link

Hi there,

Reproduction steps:

$ node -v
v8.9.0
$ npm list nconf
[email protected] /home/julian/Projects/nodebb/forum
└── [email protected]
$ node
> var a = { "foo": "bar" };
undefined
> a
{ foo: 'bar' }
> nconf.overrides(a);
... some nconf-y output...
> a
{ foo: 'bar', type: 'literal' }

I don't think adding type: 'literal' is intended...?

@mhamann
Copy link
Collaborator

mhamann commented May 16, 2018

Thanks for reporting this. No, shouldn't be occurring.

If you can find the bug, PRs are appreciated. Otherwise, a maintainer will hopefully get to this eventually.

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