Closed
Description
At some point in the v7 beta/rc line, we shuffled around the order of when configs are loading and envs are set, and ended up clobbering the npm_command
environment variable.
Current Behavior:
{
"name": "test-command-env",
"version": "1.0.0",
"scripts": {
"test": "echo $npm_command"
}
}
$ npm test
> [email protected] test
> echo $npm_command
null
Expected Behavior:
$ npm test
> [email protected] test
> echo $npm_command
test