We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2780f78 commit 8f5627dCopy full SHA for 8f5627d
lib/make-spawn-args.js
@@ -27,10 +27,10 @@ const makeSpawnArgs = options => {
27
const spawnEnv = setPATH(path, binPaths, {
28
// we need to at least save the PATH environment var
29
...process.env,
30
- ...env,
31
npm_package_json: resolve(path, 'package.json'),
32
npm_lifecycle_event: event,
33
npm_lifecycle_script: cmd,
+ ...env,
34
})
35
/* istanbul ignore next */
36
if (typeof npm_config_node_gyp === 'string') {
0 commit comments