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:
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,