Skip to content

Commit

Permalink
scripts: maketest: Use newEnv for env production
Browse files Browse the repository at this point in the history
Credit: @iarna
  • Loading branch information
iarna committed Dec 20, 2018
1 parent ae26347 commit d9970da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/maketest
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const tmpdir = path.join(basedir, 'tmp')
const conf = {
cwd: testdir,
env: Object.assign({}, process.env, {
env: common.newEnv().extend({
npm_config_cache: cachedir,
npm_config_tmp: tmpdir,
npm_config_prefix: globaldir,
Expand Down

0 comments on commit d9970da

Please sign in to comment.