Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2018-12-20 01:24:31 +0300
committerRebecca Turner <me@re-becca.org>2018-12-20 04:34:49 +0300
commitd9970da5ee97a354eab01cbf16f9101693a15d2d (patch)
treeec82c019633b9bd9b1fe51e6d580b99214c1c3e4 /scripts/maketest
parentae263473d92a896b482830d4019a04b5dbd1e9d7 (diff)
scripts: maketest: Use newEnv for env production
Credit: @iarna
Diffstat (limited to 'scripts/maketest')
-rwxr-xr-xscripts/maketest2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/maketest b/scripts/maketest
index be986d570..bf0c2c5f6 100755
--- a/scripts/maketest
+++ b/scripts/maketest
@@ -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,