summaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/upgrade-lifecycles.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/tap/upgrade-lifecycles.js')
-rw-r--r--deps/npm/test/tap/upgrade-lifecycles.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/deps/npm/test/tap/upgrade-lifecycles.js b/deps/npm/test/tap/upgrade-lifecycles.js
index f15fe0038e..0d0b8da616 100644
--- a/deps/npm/test/tap/upgrade-lifecycles.js
+++ b/deps/npm/test/tap/upgrade-lifecycles.js
@@ -4,7 +4,6 @@ var test = require('tap').test
var Tacks = require('tacks')
var File = Tacks.File
var Dir = Tacks.Dir
-var extend = Object.assign || require('util')._extend
var common = require('../common-tap.js')
var basedir = path.join(__dirname, path.basename(__filename, '.js'))
@@ -15,7 +14,7 @@ var tmpdir = path.join(basedir, 'tmp')
var conf = {
cwd: testdir,
- env: extend({
+ env: Object.assign({
npm_config_cache: cachedir,
npm_config_tmp: tmpdir,
npm_config_prefix: globaldir,