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

[?BUG] package.json -> process.env - Array is smashed, while object can be deep #37

Closed
askirmas opened this issue Sep 19, 2021 · 1 comment

Comments

@askirmas
Copy link

askirmas commented Sep 19, 2021

What is the purpose of this decision?

npm_package_config_nested_object_is_included: 'true',
npm_package_engines: 'array\n\nof\n\nstrings',

else if (val && !Array.isArray(val) && typeof val === 'object')
packageEnvs(env, val, `${prefix}${key}_`)
else
env[`${prefix}${key}`] = envVal(val)

Related: npm/cli#3775

@askirmas askirmas changed the title package.json 2 process.env - Array is smashed, while object can be deep [?BUG] package.json -> process.env - Array is smashed, while object can be deep Oct 5, 2021
@lukekarrys
Copy link
Contributor

Fixed by #194

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