-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next stepsRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release
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
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next stepsRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release