Skip to content

Commit d9970da

Browse files
committed
scripts: maketest: Use newEnv for env production
Credit: @iarna
1 parent ae26347 commit d9970da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/maketest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const tmpdir = path.join(basedir, 'tmp')
3838
3939
const conf = {
4040
cwd: testdir,
41-
env: Object.assign({}, process.env, {
41+
env: common.newEnv().extend({
4242
npm_config_cache: cachedir,
4343
npm_config_tmp: tmpdir,
4444
npm_config_prefix: globaldir,

0 commit comments

Comments
 (0)