diff options
Diffstat (limited to 'scripts/maketest')
-rwxr-xr-x | scripts/maketest | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/maketest b/scripts/maketest index e3105b5c0..118eb5fbc 100755 --- a/scripts/maketest +++ b/scripts/maketest @@ -29,7 +29,6 @@ const Tacks = require('tacks') const File = Tacks.File const Symlink = Tacks.Symlink const Dir = Tacks.Dir -const extend = Object.assign || require('util')._extend const common = require('../common-tap.js') const basedir = path.join(__dirname, path.basename(__filename, '.js')) @@ -40,7 +39,7 @@ const tmpdir = path.join(basedir, 'tmp') const conf = { cwd: testdir, - env: extend(extend({}, process.env), { + env: Object.assign({}, process.env, { npm_config_cache: cachedir, npm_config_tmp: tmpdir, npm_config_prefix: globaldir, |